Scene
One complete drawing.
Used as Input
1
function accept this type
Used as Output
8
functions return this type
Type Definition
859 nested items
Scene— One complete drawing.
class:Vec<String>— Class names, joined with spaces into one
class attribute.data:Vec<(String, String)>—
(name, value) pairs, each emitted as data-<name>="<value>".extra:Vec<(String, String)>— Free-form attributes, escaped but otherwise untouched.
id:Option<String>— The element's
id.style:Option<String>— Inline CSS, emitted as the
style attribute.background:Option<String>— Colour of a rectangle filling the whole view box, padding included.
None leaves the[items]:SceneEdge— One edge: an already-routed polyline plus its styling, markers, labels and decorations.
family:String— CSS
font-family list. Defaults to Inter, system-ui, -apple-system, sans-serif.italic:bool— Italic style, passed to the
crate::svg::TextMeasurer and drawn withsize:f64— Font size in scene units. Defaults to
12.5.weight:f64— CSS numeric font weight (
400 regular, 700 bold). Defaults to 400.variant 1:"edges_under_nodes"— Edges first, so the nodes cover any part of an edge that reaches into them.
variant 2:"edges_over_nodes"— Nodes first, so markers centred on a node border sit on top of it.
padding:f64— Space kept around the scene's bounding box.
Example JSON Value
{}Functions Accepting This Type(1)
Functions Returning This Type(8)
dfg_scene_from_layout→Scene
process_mining::visualization::bindings
oc_declare_scene_from_layout→Scene
process_mining::visualization::bindings
oc_type_graph_scene_from_layout→Scene
process_mining::visualization::bindings
ocdfg_scene_from_layout→Scene
process_mining::visualization::bindings
ocpn_scene_from_layout→Scene
process_mining::visualization::bindings
partial_order_scene_from_layout→Scene
process_mining::visualization::bindings
petri_net_scene_from_layout→Scene
process_mining::visualization::bindings
process_tree_scene_from_layout→Scene
process_mining::visualization::bindings