Hi there!
Currently i am working on a WPF project and using SfDiagram control. I need to show a workflow on diagram, but i got one issue.
My question is : Why layout goes wrong if i set a parentId for root node?
For example:
it is okay:
node1:{Id: "1", ParentId:"", Content: "Node1"}
node2:{Id: "2", ParentId:"1", Content: "Node1"}
node3:{Id: "3", ParentId:"2", Content: "Node1"}
layout go wrong:
node1:{Id: "1", ParentId:"2", Content: "Node1"}
node2:{Id: "2", ParentId:"1", Content: "Node1"}
node3:{Id: "3", ParentId:"2", Content: "Node1"}
please see the attached pics, thanks.
Attachment:
folder_24149cb6.7z