I have some questions about the capacity of link to avoid nodes and object in general.
I use since last wednesday the evaluation of GoDiagram on your website.
And I tried to use AvoidsNode,isAvoidable and GetAvoidableRectangle on GoBasicNode for the first and the second and GoGroup for the last in order to create a dynamic diagram with links.
But It doesn’t work. I want to know if is due to the Free version and if the Full version can use it correctly or if I maybe make mistake or forget something.
When you install GoDiagram Win, you get an evaluation license which gives you complete functionality. The restriction is that you cannot distribute any applications using our assemblies, and there’s a watermark to remind you of that.GoLink.AvoidsNodes only works for links that have Orthogonal set to true also. You shouldn't need to use GoDocument.IsAvoidable and GetAvoidableRectangle except to change whether to avoid some non-nodes or to make slight adjustments in how close links might get to any avoidable objects.
In fact i create a diagram with GoHexagon but hexagon don’t have any port so i create a Gogroup with GoHexagon and GoBasicNode in order to use link.
But here links avoids 2 nodes : Fromport and ToPort nodes, but not the others and they don’t avoid also GoHexagon, it’s a problem when I want to move them.
And I don’t use GoLayout here.
I have this with Goimage, Gotext, GoHexagon and hide GoBasicNode:
But when I move links doesn’t avoid GoHexagon:
Is each node’s top-level object just a GoGroup? That’s probably what the problem is. GoDocument.IsAvoidable by default returns true only when the object is a node.
Thank you for your help to use GoBasicNode but i have three difficulties:
The first is how to hide the big black dot in the middle of the node:
The second which is more important that when i move node links make amazing react like here:
The third is how to choose the port of the node (North, south ,East, Left) like here I want the arrow in the North and not in the East of the Node: