documentationfor yFiles for HTML 3.0.0.3

Usages of INodeStyle

Properties

stylein FolderNodeDefaultsGets or sets the INodeStyle to use for the collapsed group nodes.
stylein FolderNodeStateGets or sets the style of this node.
stylein INodeGets the style that is responsible for the visual representation of this node in a CanvasComponent.
stylein INodeDefaultsGets or sets the style to use for nodes.
stylein NodeDefaults
stylein SimpleNodeGets or sets the style that is responsible for the visual representation of this node in a CanvasComponent.
wrappedStylein CollapsibleNodeStyleDecoratorGets or sets the wrapped node style that will be used to perform the actual rendering of the node.
stylesin CompositeNodeStyleGets a readonly list of the styles used by this instance.
nodeStylein NodeStyleLabelStyleAdapterGets the INodeStyle that is used for rendering the background of the label.
nodeStylein NodeStylePortStyleAdapterGets the INodeStyle that is used for rendering the port.
nodeStylein NodeStyleStripeStyleAdapterGets the INodeStyle that is used for rendering the stripe.
wrappedStylein ShadowNodeStyleDecoratorGets or sets the wrapped node style instance by reference.
backgroundStylein TableNodeStyleGets or sets the style that is used to draw the background of the table.
nodeStylein NodeStyleIndicatorRendererGets or sets the style to use for the rendering.
stylein WebGLNodeStyleDecoratorThe style that will be used to render the INode outside of the WebGL2 context.

Fields

VOID_NODE_STYLEin INodeStyleA void implementation of a node style that does nothing and behaves like an invisible style.

Method Return Values

getStyle (TDataItem)in NodeCreatorObtains an INodeStyle instance or null by resolving the styleProvider.
getUpdatedStyle (IGraph, INode, TDataItem)in NodeCreatorResolves the styleProvider and then applies the style bindings.
copyNodeStyle (IGraph, INode)in ClipboardGraphCopierCopies an INodeStyle instance.
getDefaultStyleInstance ()in FolderNodeDefaultsCreates the default INodeStyle to use in initializeState.
copyNodeStyle (IGraph, INode)in GraphCopierCopies an INodeStyle instance.
getStyleInstance ()in INodeDefaultsFactory method that returns a style instance for use with newly created nodes.
getStyleInstance ()in NodeDefaults
copyNodeStyle (INodeStyle)in LayoutGraphAdapterCreates a copy of an INodeStyle instance that is used during the layout.
getStyle (INode)in DelegatingNodeStyleProvides the core implementation of this style, returning the instance to delegate rendering logic.

Method Parameters

createNodeCore (IGraph, boolean, INode, Rect, INodeStyle, INode['tag'])in NodeCreatorCalled from createNode and performs the actual node creation in the graph.
createGroupNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in FilteredGraphWrapper
createNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in FilteredGraphWrapper
FolderNodeDefaults (INodeDefaults?, )in FolderNodeDefaultsCreates a new instance, optionally using all relevant values from the provided nodeDefaults objects.
createGroupNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in Graph
createNode (Rect, INodeStyle?, INode['tag']?, )in Graph
createNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in Graph
createUndoUnitForNodeStyleChange (INode, INodeStyle)in GraphCreates the undo unit for changing the style of the given node.
onChangingNodeStyle (INode, INodeStyle)in GraphCalled before a node style is being changed.
onNodeStyleChanged (INode, INodeStyle)in GraphCalled after a node style has changed.
setStyle (INode, INodeStyle)in GraphAssigns the given style instance by reference to the node.
createGroupNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in GraphWrapperBase
createNode (Rect, INodeStyle?, INode['tag']?, )in GraphWrapperBase
createNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in GraphWrapperBase
onNodeStyleChanged (ItemChangedEventArgs<INode,INodeStyle>)in GraphWrapperBaseRaises the node-style-changed event.
setStyle (INode, INodeStyle)in GraphWrapperBase
createFolderNode (INode?, Rect?, INodeStyle?, INode['tag']?)in IFoldingViewDirectly creates a collapsed node on this instance with the given parameters.
createGroupNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in IGraphCreates a new group node using the provided style and layout as a child of parent.
createNode (Rect, INodeStyle?, INode['tag']?, )in IGraphCreates and returns a node using the specified values for the initial geometry, style, and tag.
createNode (INode?, Rect?, INodeStyle?, INode['tag']?, )in IGraphCreates a new ordinary node as a direct descendant of parent using the given layout and style.
createNodeAt (Point, INodeStyle?, INode['tag']?, )in IGraphCreates and returns a node using the specified initial center location and style, as well as the tag.
groupNodes (IEnumerable<INode>, INodeStyle?, any?, )in IGraphGroups the nodes in children into a newly created group node.
setStyle (INode, INodeStyle)in IGraphAssigns the given style instance by reference to the node.
NodeDefaults ()in NodeDefaultsInitializes a new instance of the NodeDefaults class using default properties.
SimpleNode ()in SimpleNodeCreates a default node with default lookup, VOID_NODE_STYLE as style, an empty layout, and no labels nor ports.
copyNodeStyle (INodeStyle)in LayoutGraphAdapterCreates a copy of an INodeStyle instance that is used during the layout.
CollapsibleNodeStyleDecorator (INodeStyle?, )in CollapsibleNodeStyleDecoratorInitializes a new instance of the CollapsibleNodeStyleDecorator class using the provided style for the wrappedStyle property.
CompositeNodeStyle (INodeStyle, INodeStyle)in CompositeNodeStyleCreates a new instance of this style.
getBoundsProvider (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IBoundsProvider interface that can handle the provided node and its associated style.
getContext (INode, INodeStyle)in INodeStyleRendererGets a temporary context instance that can be used to query additional information for the node's style.
getHitTestable (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IHitTestable interface that can handle the provided node and its associated style.
getLassoTestable (INode, INodeStyle)in INodeStyleRendererGets an implementation of the ILassoTestable interface that can handle the provided node and its associated style.
getMarqueeTestable (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IMarqueeTestable interface that can handle the provided node and its associated style.
getShapeGeometry (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IShapeGeometry interface that can handle the provided node and its associated style.
getVisibilityTestable (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IVisibilityTestable interface that can handle the provided node and its associated style.
getVisualCreator (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IVisualCreator interface that can handle the provided node and its associated style.
NodeStyleLabelStyleAdapter (INodeStyle?, ILabelStyle?, )in NodeStyleLabelStyleAdapterCreates a label style that uses the provided node style to render the background and the label style to render the foreground of this style.
NodeStylePortStyleAdapter (INodeStyle?, )in NodeStylePortStyleAdapterCreates a port style that uses the provided node style to render the port.
NodeStyleStripeStyleAdapter (INodeStyle?)in NodeStyleStripeStyleAdapterCreates a stripe style that uses the provided node style to render the stripe.
ShadowNodeStyleDecorator (INodeStyle?)in ShadowNodeStyleDecoratorCreates a new instance wrapping the provided style.
TableNodeStyle (ITable?, )in TableNodeStyleConstructor with a custom renderer implementation that uses table as backing table model.
NodeStyleIndicatorRenderer ()in NodeStyleIndicatorRendererCreate a new instance of this class.
WebGLNodeStyleDecorator (INodeStyle, WebGLShapeNodeStyle | WebGLImageNodeStyle | WebGLGroupNodeStyle)in WebGLNodeStyleDecoratorCreates a new instance of the class, specifying both styles to use depending on whether the node is rendered in- or outside the context of WebGL.

Implementing Types

ArrowNodeStyleNode style that supports different kinds of arrow shapes with configurable arrow tip angle and arrow shaft thickness.
CollapsibleNodeStyleDecoratorDecorates a node style with an additional button for expanding and collapsing groups.
GeneralPathNodeStyleA node style that can display node shapes with a boundary that is defined by a GeneralPath instance.
GroupNodeStyleA node style that draws a (rounded) rectangle with an optional ribbon or tab.
ImageNodeStyleA node style that can use an image for the visual representation of a node.
NodeStyleBaseAn abstract base class that makes it possible to easily implement a custom INodeStyle.
RectangleNodeStyleNode style that uses a rectangular shape as a basis and supports configurable round or diagonal corners.
ShadowNodeStyleDecoratorDecorates other node styles with a smooth drop shadow.
ShapeNodeStyleNode style implementation that can show predefined shapes of type ShapeNodeShape.
TableNodeStyleAn INodeStyle for tables.
WebGLGroupNodeStyleA node style for group nodes, that consists of a header and content portion.
WebGLImageNodeStyleAn image node style for use in WebGL2 rendering.
WebGLNodeStyleDecoratorThis INodeStyle is a decorator that leaves the style unmodified, but carries a webGLStyle instance that will be used when this style is used for an INode in the context of a WebGLGraphModelManager.
WebGLShapeNodeStyleA node style for geometric shapes for use in WebGL2 rendering.