Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-4895

Provide a better algorithm for layout of mapping diagrams

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • LATER
    • 3.1.0.M2
    • hibernate
    • None

      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.

        1. 3.1.0.M3_drawing-1.png
          21 kB
          Yahor Radtsevich
        2. screenshot-minimize-edge-crossing-example.jpg
          178 kB
          Vitali Yemialyanchyk

              kaers@redhat.com Koen Aers
              yradtsevich Yahor Radtsevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: