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
arc_width:f64= 2.5— Width of an arc's line.
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.
fill_lightness:f64= 0.85— How far towards white an activity's color is washed for its fill.
marker:String= "#4b5563"— Color of the markers, and of an arc that names no object type.
marker_size:f64= 15— Side of a marker's box.
plain_activities:bool= false— Draw the activities in the base node colors instead of tinting each one.
Example JSON Value
{}