Class SFGraphLayoutCursor

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

public class SFGraphLayoutCursor extends DomGraphNodeCursor
A class to determine the positions of nodes in a graph that is a tree, relative to their direct parents. These positions are stored in a given layout algorithm and converted later on by a DomGraphDrawingCursor. A subclass of DomGraphNodeCursor.
Author:
Marco Kuhlmann, Michaela Regneri
  • Constructor Details

    • SFGraphLayoutCursor

      public SFGraphLayoutCursor(String theNode, Canvas canv, SFGecodeTreeLayout theLayout, DomGraph theGraph, Map<String,String> nl)
      Creates a new DomGraphLayoutCursor
      Parameters:
      theNode - the graph root
      theLayout - the layout algorithm to store the coordinates
      theGraph - the graph to layout
    • SFGraphLayoutCursor

      public SFGraphLayoutCursor(String theNode, Canvas canv, SFGecodeTreeLayout theLayout, DomGraph theGraph, Set<String> theNodes, Map<String,String> nl)
      Creates a new DomGraphLayoutCursor
      Parameters:
      theNode - the graph root
      theLayout - the layout algorithm to store the coordinates
      theGraph - the graph to layout
      theNodes - nodes the layout shall arrange
  • Method Details