pub fn layout(nodes: Vec<GraphNode>, edges: Vec<GraphEdge>) -> GraphLayout
Compute a force-directed layout for the given graph data. Returns positioned nodes and the original edges.