Hi,
I tried by changing different grid router values. By setting the below values, seems the link better,
* GridSize - 6
* NodeVicinityCost - 18
* NodeVicinitySize - 24
- Screen shot 1 shows the initial diagram
- Screen shot 2 shows after setting the above optimum grid router values. In this the link between the nodes 1, 2, 3 seems better. Link between nodes 4 and 5 is better but the link drawn above the node-5. Also, the link between nodes 6 and 7 is not good.
- Screen shot 3: Also I tried by moving Node-1 so that the link between node 1 and 2 is straight line. But the orange colored selection handle position changed in node-1. It is not over the anchor.
May I know how to solve these issues? Do you suggest any better combination of grid router values or any other approach? Thank you!
I've uploaded the sample app:
https://drive.google.com/file/d/1rbOnRKwVKVEx8ud_Cv7KP4yLSDxGhBth/view?usp=sharing
Regards,
Kannan
Kannan Thirumal wrote on Jul 21
st, 2021 at 6:34pm:
Hi,
As I said, we have used the default measure unit, WpfPoint, in silverlight. The coordinates and the size of the nodes are stored in the database. Now we are loading the java script app diagram from those db values. But you mentioned that in the java script, the default measure unit is millimetre. So, I like to try the millimeter measure unit in our java script app. May I know how to convert the below values which is in WpfPoint into Millimeter?
* X, Y coordinates of the diagram nodes
* Height, Width of the diagram nodes
* Control Points of the diagram links
Also, I've one more clarification. Since we have used WpfPoint in SL, better to use same WpfPoint in java script app also. Is SL WpfPoint and JS WpfPoint same right?
Regards,
Kannan