Skip to main content
Rust4PM

ProcessTreeStyle

Colors a process tree is drawn with.

Used as Input

3

functions accept this type

Used as Output

0

functions return this type

Type Definition

24 nested items
ProcessTreeStyle= {...}— Colors a process tree 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.
leaf_fill:String= "#f8fafc"— Fill of a leaf box in the classic look.
operator_colors:OperatorColors= {...}— The color of each operator type in the color-coded look.
concurrency:String= "#16a34a"— Concurrency.
exclusive_choice:String= "#ea580c"— Exclusive choice.
inclusive_choice:String= "#0891b2"— Inclusive choice.
interleaving:String= "#db2777"— Interleaving.
loop_:String= "#9333ea"— Loop.
sequence:String= "#2563eb"— Sequence.
operator_fill:String= "#ffffff"— Fill of an operator circle in the classic look.
operator_symbol_size:f64= 18— Point size of the operator symbol in the classic look.
operator_text:String= "#1f2937"— Color of the operator symbol in the classic look.
silent_fill:String= "#111827"— Fill of a silent leaf in the classic look.
silent_text:String= "#6b7280"— Color of a silent leaf's tau in the color-coded look.

Example JSON Value

{}

Functions Accepting This Type(3)