Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315316

IGV: speed up stable sea-of-nodes layout algorithm

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 22
    • hotspot
    • Cause Known

      The sea-of-nodes layout algorithm (implemented in the HierarchicalStableLayoutManager class) is noticeably slower than its non-stable counterpart. This slowdown is almost entirely caused by the HierarchicalStableLayoutManager::ensureNeighborEdgeConsistency(). This method is a mechanism to ensure that different graph data structures (node succs/preds lists and edge from-to fields) are synchronized after each main step in the algorithm. Instead of running this conservative and costly workaround, we should identify and fix the step in which the graph data structures go out of sync.

            Unassigned Unassigned
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: