Skip to main content
Rust4PM

OcpnStyle

Colors and sizes an object-centric Petri net drawing uses.

Used as Input

4

functions accept this type

Used as Output

0

functions return this type

Type Definition

17 nested items
OcpnStyle= {...}— Colors and sizes an object-centric Petri net drawing uses.
petri:PetriStyle= {...}— Colors a Petri net drawing uses.
silent_fill:String= "#111827"— Fill of a silent transition.
token:String= "#111827"— Color of the tokens and their counts.
place_fill_lightness:f64= 0.85— How far towards white a place's fill is from its object type's color.
variable_arc_dash:String= "6 3"— SVG dash pattern of a variable arc, e.g., "6 3". Empty draws it solid.
variable_arc_width:f64= 4— Line width of a variable arc. The layout keeps room for the default width.

Example JSON Value

{}

Functions Accepting This Type(4)