Packagecom.yworks.graph.drawing
Interfacepublic interface IEdgeStyle extends IVisualStyle, ICloneable
Implementors AbstractEdgeStyle, DelegatingEdgeStyle, SimpleAbstractEdgeStyle, VoidEdgeStyle

IVisualStyle implementation for IEdge instances in an IGraph.

Implementations are responsible for rendering IEdge instances in a CanvasComponent.

It is up to the implementation to interpret the visual appearance of an edge.

The framework uses the associated, possibly shared styleRenderer to perform the actual rendering of this style for a given edge. This interface extends the ICloneable interface. This allows clients to obtain a persistent copy of the current state of this style. Immutable style implementations may return themselves.



Public Properties
 PropertyDefined By
  sourceArrow : IArrow
[read-only] Gets the visual arrow at the source end of edges that use this style.
IEdgeStyle
 InheritedstyleRenderer : IStyleRenderer
[read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
IVisualStyle
  targetArrow : IArrow
[read-only] Gets the visual arrow at the target end of edges that use this style.
IEdgeStyle
Public Methods
 MethodDefined By
 Inherited
clone():Object
Creates a clone of this instance.
ICloneable
 Inherited
install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):Array
Prepares the rendering of an IModelItem in a CanvasComponent by adding ICanvasObject's to the provided canvas.
IVisualStyle
Property Detail
sourceArrowproperty
sourceArrow:IArrow  [read-only]

Gets the visual arrow at the source end of edges that use this style.


Implementation
    public function get sourceArrow():IArrow
targetArrowproperty 
targetArrow:IArrow  [read-only]

Gets the visual arrow at the target end of edges that use this style.


Implementation
    public function get targetArrow():IArrow