uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine
Class DotGraphLayoutEngine
java.lang.Object
uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.DotGraphLayoutEngine
- All Implemented Interfaces:
- GraphLayoutEngine
public class DotGraphLayoutEngine
- extends Object
- implements GraphLayoutEngine
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jan 16, 2004
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DotGraphLayoutEngine
public DotGraphLayoutEngine()
setGraphOutputRenderer
public void setGraphOutputRenderer(GraphOutputRenderer renderer)
layoutGraph
public void layoutGraph(Graph g)
- Lays out the specified
Graph
- Specified by:
layoutGraph in interface GraphLayoutEngine
- Parameters:
g - The Graph
setLayoutDirection
public void setLayoutDirection(int layoutDirection)
- Sets the direction of the layout.
- Specified by:
setLayoutDirection in interface GraphLayoutEngine
- Parameters:
layoutDirection - The layout direction. This should be one of
the constants DotGraphLayoutEngine.LAYOUT_LEFT_TO_RIGHT or
DotGraphLayoutEngine.LAYOUT_TOP_TO_BOTTOM.
getLayoutDirection
public int getLayoutDirection()
- Gets the layout direction.
- Specified by:
getLayoutDirection in interface GraphLayoutEngine
- Returns:
- The direction of the layout.
DotGraphLayoutEngine.LAYOUT_LEFT_TO_RIGHT or
DotGraphLayoutEngine.LAYOUT_TOP_TO_BOTTOM.
Submit a bug report or feature request
For further API reference and developer documentation, see Protege 4 Developer Documentation.
Copyright © 2010 Stanford Center for Biomedical Informatics Research