Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
Modifier and Type | Method and Description |
---|---|
IEdgeStyle |
GraphCopier.copyEdgeStyle(IGraph graph,
IEdge edge)
Copies an
IEdgeStyle instance. |
protected IEdgeStyle |
AbstractFoldingEdgeConverter.createEdgeStyle(IFoldingView foldingView,
IEdge foldingEdge,
List<IEdge> masterEdges)
Callback factory method that creates the
IEdgeStyle for use in
AbstractFoldingEdgeConverter.initializeFoldingEdgeStyle(FoldingEdgeState, IFoldingView, IEdge, List) . |
IEdgeStyle |
AbstractFoldingEdgeConverter.getFoldingEdgeStyle()
Gets the
IEdgeStyle to use for the folding edge. |
IEdgeStyle |
SimpleEdge.getStyle() |
IEdgeStyle |
IEdgeDefaults.getStyle()
Gets the style to use for edges.
|
IEdgeStyle |
IEdge.getStyle()
Returns the style that is responsible for the visual representation of this edge in a
CanvasControl . |
IEdgeStyle |
FoldingEdgeState.getStyle()
The style of this edge.
|
IEdgeStyle |
EdgeDefaults.getStyle() |
IEdgeStyle |
IEdgeDefaults.getStyleInstance()
Factory method that returns a style instance for use with newly created edges.
|
IEdgeStyle |
EdgeDefaults.getStyleInstance() |
Modifier and Type | Method and Description |
---|---|
default IEdge |
IGraph.createEdge(INode source,
INode target,
IEdgeStyle style)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
IEdge |
IGraph.createEdge(INode source,
INode target,
IEdgeStyle style,
Object tag)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
IEdge |
DefaultGraph.createEdge(INode source,
INode target,
IEdgeStyle style,
Object tag)
Convenience method that creates and returns an edge that connects to the given node instances using the given style
instance.
|
IEdge |
AbstractGraphWrapper.createEdge(INode source,
INode target,
IEdgeStyle style,
Object tag) |
default IEdge |
IGraph.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style)
Creates and returns an edge that connects to the given port instances.
|
IEdge |
IGraph.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style,
Object tag)
Creates and returns an edge that connects to the given port instances.
|
IEdge |
DefaultGraph.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style,
Object tag) |
IEdge |
AbstractGraphWrapper.createEdge(IPort sourcePort,
IPort targetPort,
IEdgeStyle style,
Object tag) |
protected void |
DefaultGraph.onChangingEdgeStyle(IEdge edge,
IEdgeStyle newStyle)
Callback that is invoked before an edge style is being changed.
|
protected void |
DefaultGraph.onEdgeStyleChanged(IEdge edge,
IEdgeStyle oldStyle)
Callback that is invoked after the style of an edge has changed.
|
void |
AbstractFoldingEdgeConverter.setFoldingEdgeStyle(IEdgeStyle value)
Sets the
IEdgeStyle to use for the folding edge. |
void |
IGraph.setStyle(IEdge edge,
IEdgeStyle style)
Assigns the given style instance by reference to the edge.
|
void |
DefaultGraph.setStyle(IEdge edge,
IEdgeStyle style) |
void |
AbstractGraphWrapper.setStyle(IEdge edge,
IEdgeStyle style) |
void |
SimpleEdge.setStyle(IEdgeStyle value)
Returns the style that is responsible for the visual representation of this edge in a
CanvasControl . |
void |
IEdgeDefaults.setStyle(IEdgeStyle value)
Sets the style to use for edges.
|
void |
FoldingEdgeState.setStyle(IEdgeStyle value)
The style of this edge.
|
void |
EdgeDefaults.setStyle(IEdgeStyle value) |
Modifier and Type | Method and Description |
---|---|
void |
IGraph.addEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent)
Adds the given listener for the
EdgeStyleChanged event that occurs when an edge style has been replaced. |
void |
DefaultGraph.addEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
void |
AbstractGraphWrapper.addEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
protected void |
AbstractGraphWrapper.onEdgeStyleChanged(ItemChangedEventArgs<IEdge,IEdgeStyle> args)
Raises the
EdgeStyleChanged event. |
void |
IGraph.removeEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent)
Removes the given listener for the
EdgeStyleChanged event that occurs when an edge style has been replaced. |
void |
DefaultGraph.removeEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
void |
AbstractGraphWrapper.removeEdgeStyleChangedListener(IEventHandler<ItemChangedEventArgs<IEdge,IEdgeStyle>> edgeStyleChangedEvent) |
Modifier and Type | Class and Description |
---|---|
class |
PathBasedEdgeStyleRenderer<TStyle extends IEdgeStyle>
An abstract base class for
IEdgeStyleRenderer implementations that are based on the calculation of a
GeneralPath . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEdgeStyle
An abstract base class that makes it possible to easily implement a custom
IEdgeStyle . |
class |
ArcEdgeStyle
Provides an arc representation for an edge.
|
class |
PolylineEdgeStyle
A polygonal
IEdgeStyle where straight line segments are used to connect the bends. |
class |
VoidEdgeStyle
A void implementation of an edge style that does nothing and behaves like an invisible style.
|
Modifier and Type | Method and Description |
---|---|
IBoundsProvider |
VoidEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Yields the
IBoundsProvider.EMPTY that will return empty bounds. |
IBoundsProvider |
PathBasedEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IBoundsProvider |
IEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided edge and its associated
style. |
ILookup |
VoidEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Yields the
ILookup.EMPTY that will not yield anything. |
ILookup |
PathBasedEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, does not call PathBasedEdgeStyleRenderer.configure() and returns
this . |
ILookup |
IEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Gets a temporary context instance that can be used to query additional information for the edge's style.
|
IHitTestable |
VoidEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Yields the
IHitTestable.NEVER that will always report misses. |
IHitTestable |
PathBasedEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters and returns this . |
IHitTestable |
IEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IHitTestable interface that can handle the provided edge and its associated
style. |
IMarqueeTestable |
VoidEdgeStyleRenderer.getMarqueeTestable(IEdge edge,
IEdgeStyle style)
Yields the
IMarqueeTestable.NEVER that will always report misses. |
IMarqueeTestable |
PathBasedEdgeStyleRenderer.getMarqueeTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IMarqueeTestable |
IEdgeStyleRenderer.getMarqueeTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IMarqueeTestable interface that can handle the provided edge and its associated
style. |
IPathGeometry |
VoidEdgeStyleRenderer.getPathGeometry(IEdge edge,
IEdgeStyle style)
This method always returns the
VoidPathGeometry instance . |
IPathGeometry |
PathBasedEdgeStyleRenderer.getPathGeometry(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IPathGeometry interface that can handle the provided edge and its associated
style. |
IPathGeometry |
IEdgeStyleRenderer.getPathGeometry(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IPathGeometry interface that can handle the provided edge and its associated
style. |
IVisibilityTestable |
VoidEdgeStyleRenderer.getVisibilityTestable(IEdge edge,
IEdgeStyle style)
Yields the
IVisibilityTestable.NEVER that will always claim invisibility. |
IVisibilityTestable |
PathBasedEdgeStyleRenderer.getVisibilityTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, does not call PathBasedEdgeStyleRenderer.configure() and returns
this . |
IVisibilityTestable |
IEdgeStyleRenderer.getVisibilityTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IVisibilityTestable interface that can handle the provided edge and its associated
style. |
IVisualCreator |
VoidEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
PathBasedEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IVisualCreator |
IEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided edge and its associated
style. |
Modifier and Type | Method and Description |
---|---|
protected IEdgeStyle |
LayoutGraphAdapter.copyStyle(IEdgeStyle style)
Creates a copy of an
IEdgeStyle instance that is used during the layout for path calculations and the like. |
Modifier and Type | Method and Description |
---|---|
protected IEdgeStyle |
LayoutGraphAdapter.copyStyle(IEdgeStyle style)
Creates a copy of an
IEdgeStyle instance that is used during the layout for path calculations and the like. |
Modifier and Type | Method and Description |
---|---|
IEdgeStyle |
OverviewGraphVisualCreator.getEdgeStyle()
Gets the overview edge style.
|
IEdgeStyle |
EdgeStyleDecorationInstaller.getEdgeStyle()
The style to use for the rendering.
|
protected IEdgeStyle |
OverviewGraphVisualCreator.getEdgeStyle(IEdge edge)
Callback that returns and/or configures a edge style for the given node to render.
|
Modifier and Type | Method and Description |
---|---|
void |
OverviewGraphVisualCreator.setEdgeStyle(IEdgeStyle value)
Sets the overview edge style.
|
void |
EdgeStyleDecorationInstaller.setEdgeStyle(IEdgeStyle value)
The style to use for the rendering.
|