[
https://jira.jboss.org/jira/browse/JBIDE-4895?page=com.atlassian.jira.plu...
]
Yahor Radtsevich updated JBIDE-4895:
------------------------------------
Description:
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.
was:
Current mapping diagram drawing algorithm seems to be almost random (see
crazy_drawing-123.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.
Provide a better algorithm for drawing 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
Attachments: 3.1.0.M3_drawing-1.png
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