[
https://jira.jboss.org/jira/browse/JBIDE-4895?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk updated JBIDE-4895:
----------------------------------------
Attachment: screenshot-minimize-edge-crossing-example.jpg
this graph is result of Autolayout - the obvious enhansment here - selected region has 2
nodes with very long edge connection; there is a set of algorithms in graph theory which
could help to enhance this.
Provide a better algorithm for layout of mapping diagrams
---------------------------------------------------------
Key: JBIDE-4895
URL:
https://jira.jboss.org/jira/browse/JBIDE-4895
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Affects Versions: 3.1.0.M2
Reporter: Yahor Radtsevich
Assignee: Vitali Yemialyanchyk
Fix For: LATER
Attachments: 3.1.0.M3_drawing-1.png,
screenshot-minimize-edge-crossing-example.jpg
Current mapping diagram drawing algorithm seems to be almost random (see
3.1.0.M3_drawing-1.png).
A better algorithm should:
1. Never cross tables with lines.
2. Draw as few line crossings as possible.
3. Draw tables closer if they have more constraints.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira