public class mxCircleLayoutScaled
extends com.mxgraph.layout.mxCircleLayout
mxCircleLayout
by applying a 'reduction factor' to the layout radius.
By default, such factor is computed from the number of vertices in the graph.Constructor and Description |
---|
mxCircleLayoutScaled(com.mxgraph.view.mxGraph graph) |
Modifier and Type | Method and Description |
---|---|
void |
circle(Object[] vertices,
double r,
double left,
double top) |
double |
getReductionFactor() |
void |
setReductionFactor(double reductionFactor) |
execute, getRadius, getX0, getY0, isDisableEdgeStyle, isMoveCircle, isResetEdges, setDisableEdgeStyle, setMoveCircle, setRadius, setResetEdges, setX0, setY0
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
public double getReductionFactor()
public void setReductionFactor(double reductionFactor)
public void circle(Object[] vertices, double r, double left, double top)
circle
in class com.mxgraph.layout.mxCircleLayout
Copyright © 2015–2021 Fiji. All rights reserved.