OcTypeGraphStyle
Colors and sizes a type graph is drawn with.
Used as Input
3
functions accept this type
Used as Output
0
functions return this type
Type Definition
14 nested items
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.
edge_width:f64= 1.6— Width of a relation's line.
fill_lightness:f64= 0.85— How far towards white a type's color is washed for its fill.
o2o_dash:String= "6 3"— Dash pattern of an O2O relation.
Example JSON Value
{}