Skip to main content
Rust4PM

OCDeclareStyle

Colors and sizes of an OC-DECLARE drawing.
Used as Input

3

functions accept this type

Used as Output

0

functions return this type

Type Definition

16 nested items
OCDeclareStyle— Colors and sizes of an OC-DECLARE drawing.
arc_width:f64— Width of an arc's line.
base:BaseStyle— Colors, sizes and paddings shared by all model drawings.
background:Option<String>— Page background. None leaves the SVG transparent.
border_width:f64— Node border width in px.
corner_radius:f64— Corner radius of a box-shaped node.
edge:String— Default edge (and arrowhead) color.
edge_label_size:f64— Edge label size in px.
label_size:f64— Node label size in px.
node_border:String— Default node border color.
node_fill:String— Default node fill.
padding:f64— Space kept around the drawing's bounding box, in px.
text:String— Default label color.
fill_lightness:f64— How far towards white an activity's color is washed for its fill.
marker:String— Color of the markers, and of an arc that names no object type.
marker_size:f64— Side of a marker's box.
plain_activities:bool— Draw the activities in the base node colors instead of tinting each one.

Example JSON Value

{}

Functions Accepting This Type(3)