Package sc.fiji.snt.viewer.geditor
Class mxCircleLayoutSorted
java.lang.Object
com.mxgraph.layout.mxGraphLayout
com.mxgraph.layout.mxCircleLayout
sc.fiji.snt.viewer.geditor.mxCircleLayoutSorted
- All Implemented Interfaces:
com.mxgraph.layout.mxIGraphLayout
public class mxCircleLayoutSorted
extends com.mxgraph.layout.mxCircleLayout
Sorted circle layout algorithm for SNT graphs.
Arranges graph vertices in a circle with customizable sorting criteria (e.g., by incoming edge weight).
-
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
Constructors -
Method Summary
Methods inherited from class com.mxgraph.layout.mxCircleLayout
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
-
mxCircleLayoutSorted
public mxCircleLayoutSorted(com.mxgraph.view.mxGraph graph, String criteria) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
sortVertices
-
execute
- Specified by:
executein interfacecom.mxgraph.layout.mxIGraphLayout- Overrides:
executein classcom.mxgraph.layout.mxCircleLayout
-
circle
- Overrides:
circlein classcom.mxgraph.layout.mxCircleLayout
-