documentationfor yFiles for HTML 3.0.0.3

Usages of IEdgeStyle

Properties

stylein EdgeDefaults
stylein FoldingEdgeDefaultsGets or sets the IEdgeStyle to use for the folding edge.
stylein FoldingEdgeStateGets or sets the style of this edge.
stylein IEdgeGets the style that is responsible for the visual representation of this edge in a CanvasComponent.
stylein IEdgeDefaultsGets or sets the style to use for edges.
stylein SimpleEdgeGets or sets the style that is responsible for the visual representation of this edge in a CanvasComponent.
stylesin CompositeEdgeStyleGets a readonly list of the styles used by this instance.
edgeStylein EdgeStyleIndicatorRendererGets or sets the style to use for the rendering.
stylein WebGLEdgeStyleDecoratorThe style that will be used to render the IEdge outside of the WebGL2 context.

Fields

VOID_EDGE_STYLEin IEdgeStyleA void implementation of an edge style that does nothing and behaves like an invisible style.

Method Return Values

getStyle (TDataItem)in EdgeCreatorObtains an IEdgeStyle instance or null by resolving the styleProvider.
getUpdatedStyle (IGraph, IEdge, TDataItem)in EdgeCreatorResolves the styleProvider and then applies the style bindings.
copyEdgeStyle (IGraph, IEdge)in ClipboardGraphCopierCopies an IEdgeStyle instance.
getStyleInstance ()in EdgeDefaults
getDefaultStyleInstance ()in FoldingEdgeDefaultsCreates the default IEdgeStyle to use in initializeState.
copyEdgeStyle (IGraph, IEdge)in GraphCopierCopies an IEdgeStyle instance.
getStyleInstance ()in IEdgeDefaultsFactory method that returns a style instance for use with newly created edges.
copyEdgeStyle (IEdgeStyle)in LayoutGraphAdapterCreates a copy of an IEdgeStyle instance that is used during the layout for path calculations and the like.
getStyle (IEdge)in DelegatingEdgeStyleProvides the core implementation of this style, returning the instance to delegate rendering logic.

Method Parameters

createEdgeCore (IGraph, INode, INode, IEdgeStyle, IEdge['tag'])in EdgeCreatorCalled from createEdge and performs the actual edge creation in the graph.
EdgeDefaults ()in EdgeDefaultsInitializes a new instance of the EdgeDefaults class with default edge style, label, and port defaults.
FoldingEdgeDefaults (IEdgeDefaults?, )in FoldingEdgeDefaultsCreates a new instance of this type, optionally configuring the values from the given IEdgeDefaults object.
createEdge (INode, INode, IEdgeStyle?, IEdge['tag']?, )in GraphCreates and returns an edge that connects to the given node instances using the given style instance.
createEdge (IPort, IPort, IEdgeStyle?, IEdge['tag']?, )in Graph
createUndoUnitForEdgeStyleChange (IEdge, IEdgeStyle)in GraphCreates the undo unit for changing the style of the given edge.
onChangingEdgeStyle (IEdge, IEdgeStyle)in GraphCalled before an edge style is being changed.
onEdgeStyleChanged (IEdge, IEdgeStyle)in GraphCalled after the style of an edge has changed.
setStyle (IEdge, IEdgeStyle)in Graph
createEdge (IPort, IPort, IEdgeStyle?, IEdge['tag']?, )in GraphWrapperBase
createEdge (INode, INode, IEdgeStyle?, IEdge['tag']?, )in GraphWrapperBase
onEdgeStyleChanged (ItemChangedEventArgs<IEdge,IEdgeStyle>)in GraphWrapperBaseRaises the edge-style-changed event.
setStyle (IEdge, IEdgeStyle)in GraphWrapperBase
createEdge (IPort, IPort, IEdgeStyle?, IEdge['tag']?, )in IGraphCreates and returns an edge that connects to the given port instances.
createEdge (INode, INode, IEdgeStyle?, IEdge['tag']?, )in IGraphCreates and returns an edge that connects to the given node instances using the given style instance.
setStyle (IEdge, IEdgeStyle)in IGraphAssigns the given style instance by reference to the edge.
SimpleEdge (IPort?, IPort?, )in SimpleEdgeCreates an edge with a default lookup, and, optionally, the given source and target ports.
copyEdgeStyle (IEdgeStyle)in LayoutGraphAdapterCreates a copy of an IEdgeStyle instance that is used during the layout for path calculations and the like.
CompositeEdgeStyle (IEdgeStyle, IEdgeStyle)in CompositeEdgeStyleCreates a new instance of this style.
getBoundsProvider (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IBoundsProvider interface that can handle the provided edge and its associated style.
getContext (IEdge, IEdgeStyle)in IEdgeStyleRendererGets a temporary context instance that can be used to query additional information for the edge's style.
getHitTestable (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IHitTestable interface that can handle the provided edge and its associated style.
getLassoTestable (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the ILassoTestable interface that can handle the provided edge and its associated style.
getMarqueeTestable (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IMarqueeTestable interface that can handle the provided edge and its associated style.
getPathGeometry (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IPathGeometry interface that can handle the provided edge and its associated style.
getVisibilityTestable (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IVisibilityTestable interface that can handle the provided edge and its associated style.
getVisualCreator (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IVisualCreator interface that can handle the provided edge and its associated style.
EdgeStyleIndicatorRenderer ()in EdgeStyleIndicatorRendererCreate a new instance of this class.
WebGLEdgeStyleDecorator (IEdgeStyle, WebGLPolylineEdgeStyle | WebGLArcEdgeStyle | WebGLBridgeEdgeStyle)in WebGLEdgeStyleDecoratorCreates a new instance of the class, specifying both styles to use depending on whether the edge is rendered in- or outside the context of WebGL.

Implementing Types

ArcEdgeStyleProvides an arc representation for an edge.
ArrowEdgeStyleEdge style that renders like different single-segment arrow shapes with configurable arrow tip angle and arrow shaft thickness.
BezierEdgeStyleProvides an edge representation as a cubic Bezier path.
BridgeEdgeStyleProvides a bridge representation for an edge.
EdgeStyleBaseAn abstract base class that makes it possible to easily implement a custom IEdgeStyle.
PathEdgeStyleBaseAn abstract base class that makes it possible to easily implement a custom GeneralPath-based IEdgeStyle.
PolylineEdgeStyleA polygonal IEdgeStyle where straight line segments are used to connect the bends.
WebGLArcEdgeStyleAn arced edge style for use in WebGL2 rendering.
WebGLBridgeEdgeStyleA 3-segment edge style for use in WebGL2 rendering.
WebGLEdgeStyleDecoratorThis IEdgeStyle is a decorator that lets the style unmodified, but carries a webGLStyle instance that will be used when this style is used for an IEdge in the context of a WebGLGraphModelManager.
WebGLPolylineEdgeStyleA polygonal edge style for use in WebGL2 rendering.