Package sc.fiji.snt.viewer.geditor
Class mxCircleLayoutGrouped
java.lang.Object
com.mxgraph.layout.mxGraphLayout
com.mxgraph.layout.mxCircleLayout
sc.fiji.snt.viewer.geditor.mxCircleLayoutGrouped
- All Implemented Interfaces:
com.mxgraph.layout.mxIGraphLayout
public class mxCircleLayoutGrouped
extends com.mxgraph.layout.mxCircleLayout
Circle layout algorithm for grouped annotation graph visualization.
Organizes brain structures hierarchically by ontological relationships, positioning groups
in circular arrangements for clearer anatomical organization.
-
Field Summary
Fields inherited from class com.mxgraph.layout.mxCircleLayout
disableEdgeStyle, moveCircle, radius, resetEdges, x0, y0Fields inherited from class com.mxgraph.layout.mxGraphLayout
graph, parent, useBoundingBox -
Constructor Summary
ConstructorsConstructorDescriptionmxCircleLayoutGrouped(com.mxgraph.view.mxGraph graph, int midLevel, int topLevel) -
Method Summary
Modifier and TypeMethodDescriptionvoidcircle(double r, double left, double top) voiddoubledoublevoidsetCenterSource(boolean centerSource) voidsetColorCode(boolean colorCode) voidsetColorTable(net.imglib2.display.ColorTable colorTable) voidsetSortMidLevel(boolean sortMidLevel) protected Object[]Methods inherited from class com.mxgraph.layout.mxCircleLayout
circle, getRadius, getX0, getY0, isDisableEdgeStyle, isMoveCircle, isResetEdges, setDisableEdgeStyle, setMoveCircle, setRadius, setResetEdges, setX0, setY0Methods inherited from class com.mxgraph.layout.mxGraphLayout
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
-
Constructor Details
-
mxCircleLayoutGrouped
public mxCircleLayoutGrouped(com.mxgraph.view.mxGraph graph, int midLevel, int topLevel) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
sortVertices
-
execute
- Specified by:
executein interfacecom.mxgraph.layout.mxIGraphLayout- Overrides:
executein classcom.mxgraph.layout.mxCircleLayout
-
circle
public void circle(double r, double left, double top) -
setColorCode
public void setColorCode(boolean colorCode) -
setColorTable
public void setColorTable(net.imglib2.display.ColorTable colorTable) -
setSortMidLevel
public void setSortMidLevel(boolean sortMidLevel) -
setCenterSource
public void setCenterSource(boolean centerSource) -
getCenterX
public double getCenterX() -
getCenterY
public double getCenterY()
-