Preset
A named starting point for LayoutOptions, so a caller or a JSON request
(
(
crate::json::LayoutRequest) picks the kind of drawing and changes only what it needs.Used as Input
0
functions accept this type(+2 nested)
Used as Output
0
functions return this type
Type Definition
4 nested items
enum(4 variants)— A named starting point for LayoutOptions, so a caller or a JSON request
variant 1:"layered"—
LayoutOptions::layered_default, for Petri nets.variant 2:"process_map"—
LayoutOptions::process_map, for directly-follows graphs.variant 3:"hub_and_spoke"—
LayoutOptions::hub_and_spoke, for dense relationship graphs.variant 4:"hub_and_spoke_flow"—
LayoutOptions::hub_and_spoke_flow, for dense graphs with a direction of flow.Example JSON Value
"layered"