OptionalcolorThe color of the stroke, which can be a CSS color string (e.g., '#000000' for black) or undefined for a default color. If the color is undefined, the rendering logic may choose a default stroke color based on the node's properties or theme.
OptionalwidthThe width of the stroke, which can be a number representing the width in pixels or undefined for a default width. If the width is undefined, the rendering logic may choose a default stroke width based on the node's properties or theme.
OptionaldashThe dash pattern of the stroke, which can be a string representing a predefined pattern ('solid', 'dashed', 'dotted', 'dashdot') or an array of numbers for a custom pattern. If the dash pattern is undefined, the rendering logic may choose a default pattern based on the node's properties or theme.
Optionalarrow_The type of arrowhead at the start of the stroke, which can be one of the predefined ArrowType values or undefined for no arrowhead. If the arrow type is undefined, the rendering logic may choose a default arrow type based on the node's properties or theme.
Optionalarrow_The type of arrowhead at the end of the stroke, which can be one of the predefined ArrowType values or undefined for no arrowhead. If the arrow type is undefined, the rendering logic may choose a default arrow type based on the node's properties or theme.
StrokeStyle defines the properties of a stroke (outline) that can be applied to nodes in the diagram, including color, width, dash pattern, and arrow direction.