Node style implementation that can show predefined shapes of type ShapeNodeShape.
Implements
- I
- I
Remarks
For node visualizations in the shapes of arrows, parallelograms (sheared rectangles) and trapezoids, see the ArrowNodeStyle.
See Also
Developer's Guide
Members
No filters for this type
Constructors
Properties
The default value is an empty string, in which case no class is set for the visualization.
Multiple classes can be set by separating them with spaces, just like with the SVG class attribute.
final
See Also
Developer's Guide
The intrinsic aspect ratio is determined by the renderer.
The default value is false. If enabled, the default implementation uses the intrinsic aspect ratio of the given shape.
final
See Also
Developer's Guide
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given node and this style instance.
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given node and this style instance.
The idiom for retrieving, e.g. an IVisualCreator implementation for a given style is:
const creator = style.renderer.getVisualCreator(node, style)
const visual = creator.createVisual(context)readonlyfinal
Implements
INodeStyle.rendererGets or sets the shape for this style.
Gets or sets the shape for this style.
Methods
Create a clone of this object.
Create a clone of this object.