Class SFGraphDrawingCursor

java.lang.Object
de.saar.chorus.domgraph.layout.treelayout.DomGraphNodeCursor
de.saar.chorus.domgraph.layout.solvedformlayout.SFGraphDrawingCursor
All Implemented Interfaces:
NodeCursorInterface

public class SFGraphDrawingCursor extends DomGraphNodeCursor
A class to determine the coordinates of a node relative to the graph root. This converts the positions (relative to the direct parent) computet by a DomGraphLayoutCursor into positions relative to the root. The computet coordinates are stored in maps of the given SolvedFormLayout and processed there. A subclass of DomGraphNodeCursor.
Author:
Marco Kuhlmann, Michaela Regneri
  • Constructor Details

    • SFGraphDrawingCursor

      public SFGraphDrawingCursor(String theNode, SFGecodeTreeLayout theLayout, DomGraph aGraph)
      Creates a new DomGraphDrawingCursor
      Parameters:
      theNode - the graph root
      theLayout - the layout algorithm to store the coordinates
      aGraph - the graph to layout
    • SFGraphDrawingCursor

      public SFGraphDrawingCursor(String theNode, SFGecodeTreeLayout theLayout, DomGraph aGraph, Set<String> theNodes)
      Creates a new DomGraphDrawingCursor
      Parameters:
      theNode - the graph root
      theLayout - the layout algorithm to store the coordinates
      aGraph - the graph to layout
      theNodes - nodes the layout shall arrange
  • Method Details