Skip to main content
Rust4PM

DfgStyle

Colors a directly-follows graph is drawn with.

Used as Input

3

functions accept this type

Used as Output

0

functions return this type

Type Definition

13 nested items
DfgStyle= {...}— Colors a directly-follows graph is drawn with.
base:BaseStyle= {...}— Colors, sizes and paddings shared by all model drawings.
background:Option<String>= "#ffffff"— Page background. None leaves the SVG transparent.
border_width:f64= 1.75— Node border width in px.
corner_radius:f64= 4— Corner radius of a box-shaped node.
edge:String= "#374151"— Default edge (and arrowhead) color.
edge_label_size:f64= 10.5— Edge label size in px.
label_size:f64= 12.5— Node label size in px.
node_border:String= "#1f2937"— Default node border color.
node_fill:String= "#ffffff"— Default node fill.
padding:f64= 24— Space kept around the drawing's bounding box, in px.
text:String= "#111827"— Default label color.
end_fill:String= "#D4001F"— Fill of the END terminal.
start_fill:String= "#4B9969"— Fill of the START terminal.

Example JSON Value

{}

Functions Accepting This Type(3)