Profile Picture

Questions about used Routing (autolayout Algorithm), LineConnector

Posted By Leon Kusnezow 14 Years Ago

Questions about used Routing (autolayout Algorithm), LineConnector

Author
Message
Leon Kusnezow
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 8, Visits: 1

I'm sorry for the late reply...

1.-2. thank you for this information


4. Is it possible to build minimal distance between 2 shape blocks?

I customized the grid, so the user can only move the blocks by permanent snap-on aligned the grid.

I want to forbid the user to place a block over an other block. If you move the block over the other (mousedown) it is no problem when the blocks overlay, but if you finished with the movement (mouseup) should the block jump to the next avaible positon. 1 grid box should be the distance i need between 2 shape blocks as show in the figures below.

http://www.fotos-hochladen.net/distancesd6bp9w3.jpeg

[Nevron Team - its not possible to upload jpeg in this forum]

thank you in advance

Leon K.


 



Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Leon,

Regarding your questions:

1. Which Algorithm is for the Routing exactly used?
The routing uses a modified A* path finding algorithm.

2. How far is it possible to customize/optimize the Behavior of the Routing?
like:
· to forbid overlap of the ConnectingLines?
Currently this is not a built in feature of the routing manager, as it simply tries to avoid obstacles in connectors paths.

· to reduce the waydirection changing to a minimum?
This can be controlled by the ChangeDirectionCost of the drawing.RoutingManager. The higher the cost the more reluctant connectors will be to make direction changes (turns).

3. Is it possible to build an minimal distance between 2 Diagrammshapes?
4. Is it possible to build minimal distance between 2 ConnectorLines?
Please elaborate. What do you mean by minimal distance, how should this distance be enforced etc.

4. Is it possible to create an nodal point for the connecting of Lines?
Please elaborate. What is a nodal point?

Best Regards,
Nevron Support Team



Leon Kusnezow
questionmark Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 8, Visits: 1

Hi all,

 

I've got some generally Questions about the Routing (LineConnector) in the Editor of Nevron Diagram.

 

 

1. Which Algorithm is for the Routing exactly used?

 

 

2. How far is it possible to customize/optimize the Behavior of the Routing?

 

like:

·        to forbid overlap of the ConnectingLines?

·        to reduce the waydirection changing to a minimum?

 

2. Is it possible to build an minimal distance  between 2 Diagrammshapes?

 

 

3. Is it possible to build minimal distance between 2 ConnectorLines?

 

 

4. Is it possible to create an nodal point for the connecting of Lines?

 

thank you

from Germany





Similar Topics


Reading This Topic