|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.orthogonal.EdgeLayoutDescriptor
public class EdgeLayoutDescriptor
This class is used by OrthogonalLayouter
, DirectedOrthogonalLayouter
and
OrthogonalGroupLayouter
to determine the routing details of the graph's edges.
OrthogonalLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY
,
DirectedOrthogonalLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY
,
OrthogonalGroupLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY
Constructor Summary | |
---|---|
EdgeLayoutDescriptor()
Creates a new instance of an EdgeLayoutDescriptor using the default values. |
Method Summary | |
---|---|
EdgeLayoutDescriptor |
createCopy()
Creates a copy of this instance. |
double |
getMinimumFirstSegmentLength()
Returns the minimum length of the first segment (at the source). |
double |
getMinimumLastSegmentLength()
Returns the minimum length of the last segment (at the target). |
double |
getMinimumSegmentLength()
Returns the minimum segment length of the edge. |
void |
setMinimumFirstSegmentLength(double length)
Sets the minimum length of the first segment (at the source). |
void |
setMinimumLastSegmentLength(double length)
Sets the minimum length of the last segment (at the target). |
void |
setMinimumSegmentLength(double length)
Sets the minimum segment length of an edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeLayoutDescriptor()
Method Detail |
---|
public void setMinimumFirstSegmentLength(double length)
OrthogonalLayouter.setGrid(int)
),
i.e., segment length >= (int) Math.ceil(length / grid size).
length
- the minimum length of the first segmentpublic double getMinimumFirstSegmentLength()
15.0d
.
public void setMinimumLastSegmentLength(double length)
OrthogonalLayouter.setGrid(int)
),
i.e., segment length >= (int) Math.ceil(length / grid size).
length
- the minimum length of the last segmentpublic double getMinimumLastSegmentLength()
15.0d
.
public void setMinimumSegmentLength(double length)
OrthogonalLayouter.setGrid(int)
),
i.e., segment length >= (int) Math.ceil(length / grid size).
length
- the minimum segment length.public double getMinimumSegmentLength()
15.0d
.
public EdgeLayoutDescriptor createCopy()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |