Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.multipage |
Provides the
MultiPageLayout that subdivides the input graph into several smaller graphs whose layouts fit the specified maximum page size. |
Modifier and Type | Method and Description |
---|---|
IEdgeLabelLayout |
ILabelLayoutFactory.createLabelLayout(Edge edge,
YOrientedRectangle orientedBox)
Creates a new
ILabelLayout for the given edge. |
IEdgeLabelLayout |
ILabelLayoutFactory.createLabelLayout(Edge edge,
YOrientedRectangle orientedBox,
IEdgeLabelLayoutModel model,
PreferredPlacementDescriptor descriptor)
Creates a new
ILabelLayout for the given edge. |
IEdgeLabelLayout[] |
LayoutGraphAdapter.getEdgeLabelLayout(Object edge) |
abstract IEdgeLabelLayout[] |
LayoutGraph.getLabelLayout(Edge edge)
Returns the layout information for all labels associated with the given edge.
|
IEdgeLabelLayout[] |
DefaultLayoutGraph.getLabelLayout(Edge edge) |
IEdgeLabelLayout[] |
CopiedLayoutGraph.getLabelLayout(Edge copiedEdge)
Returns the layout information for all labels associated with the given edge of the copied graph.
|
Modifier and Type | Method and Description |
---|---|
void |
ILabelLayoutFactory.addLabelLayout(Edge edge,
IEdgeLabelLayout labelLayout)
Adds the given
IEdgeLabelLayout to the given edge. |
protected EdgeLabelCandidate |
LayoutGraphAdapter.createEdgeLabelCandidate(ILabel originalLabel,
ILabel dummyLabel,
ILabelModelParameter layoutParameter,
IEdgeLabelLayout labelLayout)
Creates the
EdgeLabelCandidate for a given label and ILabelModelParameter combination. |
YList |
SliderEdgeLabelLayoutModel.getLabelCandidates(IEdgeLabelLayout labelLayout,
IEdgeLayout edgeLayout,
INodeLayout sourceLayout,
INodeLayout targetLayout)
Returns all
EdgeLabelCandidate s that describe valid label positions within this model. |
YList |
IEdgeLabelLayoutModel.getLabelCandidates(IEdgeLabelLayout labelLayout,
IEdgeLayout edgeLayout,
INodeLayout sourceLayout,
INodeLayout targetLayout)
Returns all
EdgeLabelCandidate s that describe valid label positions within this model. |
YList |
FreeEdgeLabelLayoutModel.getLabelCandidates(IEdgeLabelLayout labelLayout,
IEdgeLayout edgeLayout,
INodeLayout sourceLayout,
INodeLayout targetLayout)
Returns the
EdgeLabelCandidate that describes the current label position. |
YList |
DiscreteEdgeLabelLayoutModel.getLabelCandidates(IEdgeLabelLayout label,
IEdgeLayout edgeLayout,
INodeLayout sourceNode,
INodeLayout targetNode) |
abstract Edge |
LayoutGraph.getOwner(IEdgeLabelLayout labelLayout)
Returns the edge to which the given
IEdgeLabelLayout belongs. |
Edge |
DefaultLayoutGraph.getOwner(IEdgeLabelLayout labelLayout) |
Edge |
CopiedLayoutGraph.getOwner(IEdgeLabelLayout labelLayout)
Returns the edge of the copied graph to which the given
IEdgeLabelLayout belongs. |
void |
ILabelLayoutFactory.removeLabelLayout(Edge edge,
IEdgeLabelLayout labelLayout)
Removes the given
IEdgeLabelLayout from the given edge. |
void |
DefaultLayoutGraph.setLabelLayout(Edge edge,
IEdgeLabelLayout[] layout)
Specifies the layout information for all associated labels of the given edge.
|
Constructor and Description |
---|
EdgeLabelCandidate(YOrientedRectangle labelBox,
Object param,
IEdgeLabelLayout owner)
Creates a new instance of
EdgeLabelCandidate described by its box, model parameter and internal flag. |
EdgeLabelCandidate(YOrientedRectangle labelBox,
Object param,
IEdgeLabelLayout owner,
boolean internal)
Creates a new instance of
EdgeLabelCandidate described by its box, model parameter and internal flag. |
EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
IEdgeLabelLayout owner)
Creates a new instance of
EdgeLabelCandidate described by location, size, model parameter and internal flag. |
EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
IEdgeLabelLayout owner,
boolean internal)
Creates a new instance of
EdgeLabelCandidate described by location, size, model parameter and internal flag. |
ExtendedEdgeLabelCandidate(YOrientedRectangle orientedBox,
Object param,
IEdgeLabelLayout owner,
boolean internal,
ILabelCandidateDescriptor descriptor)
Returns a new instance of ExtendedEdgeLabelCandidate.
|
ExtendedEdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
IEdgeLabelLayout owner,
boolean internal,
ILabelCandidateDescriptor descriptor)
Returns a new instance of ExtendedEdgeLabelCandidate.
|
ExtendedEdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
IEdgeLabelLayout owner,
ILabelCandidateDescriptor descriptor)
Returns a new instance of ExtendedEdgeLabelCandidate.
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutContext.addEdgeLabel(IEdgeLabelLayout label,
Edge labeledElement)
Adds a label to a given edge.
|
IEdgeLabelInfo |
MultiPageLayoutResult.getEdgeLabelInfo(IEdgeLabelLayout edgeLabelLayout) |
IEdgeLabelInfo |
LayoutContext.getEdgeLabelInfo(IEdgeLabelLayout edgeLabelLayout) |
IEdgeLabelInfo |
IElementInfoManager.getEdgeLabelInfo(IEdgeLabelLayout edgeLabelLayout)
Returns the edge label information object of the given edge label layout.
|
boolean |
LayoutContext.removeEdgeLabel(IEdgeLabelLayout label,
Edge labeledElement)
Removes a label from a given edge.
|