Quote:Could you please provide an example of databing a tablenode with a xml file?
Very few properties of the diagram items are currently dependency properties. You can bind only those properties. Bounds, EnabledHandles, RotationAngle and Text come to mind. In order to bind those properties use the standard {Binding} markup extension. Finally, supply the data source - one way to do this is through the Diagram.DataContext property.
Quote:And how to put a shapenode in a cell of tablenode, in XAML?
You can't do this, neither programmatically nor through XAML. You can position the node on top of a table cell, then lock it and group it with the table so that when the table is moved the node is moved along, thus giving the impression that the node is inside the cell.
Quote:And if I want to modify some properties in the codebehind, for the node, before the user begins to interact with the UI, where is the best place (event) to that?
You can do it in the window's constructor
after the call to InitializeComponent.
Regards,
Meppy