public interface GraphLayout extends de.ims.icarus.util.Installable, GraphLayoutConstants
ARC_BASE_OFFSET, ARC_HEIGHT_RATIO, ARC_TOP_EXTEND, BOTTOM_INSETS_KEY, CELL_FILTER_KEY, CELL_MERGER_KEY, CELL_SPACING_KEY, CENTER_GRAPH_KEY, CONTENT_AREA_KEY, DEFAULT_BOTTOM_INSETS, DEFAULT_CONTENT_AREA, DEFAULT_EDGE_STYLE, DEFAULT_EDGE_STYLE_KEY, DEFAULT_LEFT_INSETS, DEFAULT_LTR_EDGE_STYLE, DEFAULT_MIN_BASELINE, DEFAULT_ORDER_EDGE_STYLE, DEFAULT_RIGHT_INSETS, DEFAULT_RTL_EDGE_STYLE, DEFAULT_TOP_INSETS, DEFAULT_VERTEX_STYLE, GRAPH_PRESENTER_KEY, LEFT_INSETS_KEY, LTR_EDGE_STYLE_KEY, MIN_BASELINE_KEY, OFFSET_X_KEY, OFFSET_Y_KEY, ORDER_EDGE_STYLE_KEY, RIGHT_INSETS_KEY, RTL_EDGE_STYLE_KEY, STYLE_DECORATOR_KEY, TOP_INSETS_KEY
Modifier and Type | Method and Description |
---|---|
com.mxgraph.util.mxRectangle |
compressGraph(GraphOwner owner,
java.lang.Object[] cells,
de.ims.icarus.util.Options options,
com.mxgraph.util.mxRectangle bounds)
Layout the given collection of cells in the graph so
that it fits within the
bounds rectangle. |
java.lang.String |
getEdgeStyle(GraphOwner owner,
java.lang.Object edge,
de.ims.icarus.util.Options options)
Special method to handle new edges in a graph.
|
java.lang.Object |
getSignificantCell(GraphOwner owner,
java.lang.Object[] cells,
de.ims.icarus.util.Options options) |
com.mxgraph.util.mxRectangle |
layoutGraph(GraphOwner owner,
java.lang.Object[] cells,
de.ims.icarus.util.Options options)
Layout the given collection of cells in the graph.
|
java.lang.String getEdgeStyle(GraphOwner owner, java.lang.Object edge, de.ims.icarus.util.Options options)
com.mxgraph.util.mxRectangle layoutGraph(GraphOwner owner, java.lang.Object[] cells, de.ims.icarus.util.Options options)
cells
array can be used.com.mxgraph.util.mxRectangle compressGraph(GraphOwner owner, java.lang.Object[] cells, de.ims.icarus.util.Options options, com.mxgraph.util.mxRectangle bounds)
bounds
rectangle. If
such compression is not possible then a best-effort
approach should be used to reduce the overhead in size as
much as possible.java.lang.Object getSignificantCell(GraphOwner owner, java.lang.Object[] cells, de.ims.icarus.util.Options options)