Class TreeLaminator
- java.lang.Object
-
- com.axis.system.jenkins.plugins.downstream.tree.TreeLaminator
-
public class TreeLaminator extends Object
Layouts a data graph and "laminates" it into a matrix of rows, cols.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TreeLaminator.ChildrenFunction<N>
-
Constructor Summary
Constructors Constructor Description TreeLaminator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static <T> int
getShallowDepth(T node, TreeLaminator.ChildrenFunction<T> childNodes)
static <T> Matrix<T>
layoutTree(T rootNode, TreeLaminator.ChildrenFunction<T> children)
protected static <T> boolean
shallowFit(int row, int pos, T node, TreeLaminator.ChildrenFunction<T> childNodes, Matrix<T> matrix)
-
-
-
Method Detail
-
layoutTree
public static <T> Matrix<T> layoutTree(T rootNode, TreeLaminator.ChildrenFunction<T> children)
-
getShallowDepth
protected static <T> int getShallowDepth(T node, TreeLaminator.ChildrenFunction<T> childNodes)
-
shallowFit
protected static <T> boolean shallowFit(int row, int pos, T node, TreeLaminator.ChildrenFunction<T> childNodes, Matrix<T> matrix)
-
-