org.drools.eclipse.editors.rete
Class ReteooLayoutFactory
java.lang.Object
org.drools.eclipse.editors.rete.ReteooLayoutFactory
public class ReteooLayoutFactory
- extends Object
Factory methods for calculating and layouting reteoo graph
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReteooLayoutFactory
public ReteooLayoutFactory()
calculateReteRows
public static RowList calculateReteRows(BaseVertex root)
- Calculates layouting for provided graph.
- Parameters:
root - graph root vertex
- Returns:
- Optimally layouted rows from provided graph
layoutRowList
public static void layoutRowList(ReteGraph graph,
RowList rowList)
- Adds all vertices from rowList to the graph.
- Parameters:
graph - rowList -
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.