Hi Walter I need some help!
My layout is base on a Grid layout.
In DoLayout(…) I calculate nodeData position for all elements. First Group get position 0,0, First Node inside the Group get parent position and so on.
My Group template is a simple border is defined with folowing values
- Group.LocationSpot=“TopLeft”
- Group.Location="{Binding Data.Location, Mode=TwoWay}"
- Width="{Binding Data.Width, Mode=TwoWay}"
- Height="{Binding Data.Height, Mode=TwoWay}"
There is only 1 element inside the border (Main Border) and it’s the GroupPanel (I’ve removed Group layout as the whole layouting is calculated in the Main Layout)
Inside the Group panel I’ve added a Boder bind to the nodeData Size.
I’ve expected that both Rectangle should have been at the exact same position. But I’ve a delta between
Main Border and Group Panel Border.
Why are my border not at the same position?
Why orange border do not have the configuration as it’s parent.
I’ve seen that your virtual project example use Vertex.
Do I need to implement such class? If so how can give to the diagram my own managed Vertex?
Thanks