Hi!
Shaking - I mean shapes are rearrange and I want only rearrange links
Sry for vague.
Now my situation about links is:
- Dynamic = True
- SnapToNodeBorder = True
- AutoRoute = True
- Im handling node modification and there I call route for all adjacent link:
Private Sub Diagram_NodeModifying(ByVal sender As Object, ByVal e As MindFusion.Diagramming.NodeValidationEventArgs) Handles Diagram.NodeModifying
For Each LoLink As MindFusion.Diagramming.DiagramLink In e.Node.IncomingLinks
Call LoLink.Route()
Next
For Each LoLink As MindFusion.Diagramming.DiagramLink In e.Node.OutgoingLinks
Call LoLink.Route()
Next
End Sub
After this diagram with two nodes and two links looks like --> picture1.
I want it looks like --> picture2
http://i42.tinypic.com/2w5lhk7.jpg Quote: To set your own points coordinates, first set SegmentCount, and then assign PointF objects to the ControlPoints elements.
Can you please explain it on my piece of code? Can I do it in LinkRouted event with parameter e? Am I allowed to change existing (starting/ending) control point of every link?I have checked this forum and help file. What about:- penalties in RoutingOptions? Some penalty for the same control point for more links?
- minimal distance between all ending points of all links on the same node
- as I read there is a problem with OrthogonalLayout in case of partial diagram layouting
So, now it works great except for arranging of (starting/ending) points on the same edge of shape. This is what Im trying to fix now.
Thanx for your advice.
...MUDO...