[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4895) Provide a better algorithm for layout of mapping diagrams

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Fri Oct 30 12:17:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492335#action_12492335 ] 

Vitali Yemialyanchyk commented on JBIDE-4895:
---------------------------------------------

sone more ideas for better algorithm:
4. minimize diagram coverage area, reduce empty areas.
5. minimize summary of edges width.

> 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

        


More information about the jbosstools-issues mailing list