This module provides attributes for configuring draw, svgNodeDrawer and svgEdgeDrawer given in Dagre.Render.
Note : This module uses elm-community/typed-svg, so don't confuse Svg as elm/svg.
The following attributes can be used both on Node and Edge Drawers.
To add fill color to Node
The following attribute can be used to set label on both Nodes and Edges.
To add event handlers to Nodes and Edges
To set the stroke color of a node/edge
To set the stroke width of a node/edge
To set the stroke dash array of a node/edge
To add any inline css to path element of the edge, or polygon of node.
To set the title (appears as a tooltip) of a node/edge
This attributes sets the shape of Node used for drawing the node. The possible values are Circle, Ellipse, Box, RoundedBox.
Set the style used for drawing links. The possible values are polyline and splines
Set alpha used for drawing the spline using Catmull-Rom
Note: alpha>=0.5 produces centripetal splines , which are useful to avoid self-intersections and overshoots. ref
To set the label orientation along the curvature of edge
This attributes sets the type of arrow head used for drawing the edge. The possible values are None, Triangle, Vee.
Set the Extra Label for a node.
Used to set the position of Extra Label relative to the node.
Attribute type for Standard Drawers