OptionalalgorithmPlacement algorithm (layered / radial / force / stress).
OptionaldirectionFlow axis (right / left / up / down).
Optionaledge_Shaft style (polyline / orthogonal / splines).
Optionallayer_Between-layer gap along the flow axis (px). Smaller → tighter pack.
Optionalnode_Within-layer node gap (px). Smaller → tighter pack.
Layout for [
DepictSpec::ReactionScheme].Backend-agnostic knobs — hosts map these onto ELK, Dagre, or another engine. Defaults when omitted: [
LayoutDirection::Right], [EdgeRouting::Polyline], [LayoutAlgorithm::Layered]. Individual [EdgeNode]s may override [Self::edge_routing].Spacing (px, document space) controls packing tightness:
Self::node_spacing] — gap between nodes in the same layer (default ~20)Self::layer_spacing] — gap between reactant/product layers (default ~0)