public class TrackSchemeGraphLayout extends com.mxgraph.layout.mxGraphLayout implements Benchmark
mxGraphLayout arranges cells on a graph in lanes corresponding
to tracks. It also sets the style of each cell so that they have a coloring
depending on the lane they belong to. Each lane's width and color is
available to other classes for further exploitation.| Constructor and Description |
|---|
TrackSchemeGraphLayout(JGraphXAdapter graph,
Model model,
TrackSchemeGraphComponent component) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Object lParent) |
long |
getProcessingTime() |
Map<Integer,Integer> |
getRowLengths() |
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocationpublic TrackSchemeGraphLayout(JGraphXAdapter graph, Model model, TrackSchemeGraphComponent component)
public void execute(Object lParent)
execute in interface com.mxgraph.layout.mxIGraphLayoutexecute in class com.mxgraph.layout.mxGraphLayoutpublic Map<Integer,Integer> getRowLengths()
i, the number of cells on the row corresponding to
frame i is rowLength.get(i). This field
is regenerated after each call to execute(Object).public long getProcessingTime()
getProcessingTime in interface BenchmarkCopyright © 2015–2021 Fiji. All rights reserved.