layout_graph
visualization::engineSourceLay the graph of request out with the layered engine, e.g., the request of a
<model>_layout_request.
layout.nodes[i] is where request.graph.nodes[i] went, and layout.edges[i] the route of request.graph.edges[i]. Nodes with a position steer the result as the options' seed_mode sets, and a pinned one stays exactly there.
Errors. An invalid options patch, or a graph the engine rejects.
A layered-layout request: the graph, the preset its options start from, and the fields of
One laid-out drawing.
import r4pm
res = r4pm.bindings.layout_graph({})