Skip to main content

node_graph

Function node_graph 

Source
pub fn node_graph<'a, Message, Theme, Renderer>() -> NodeGraph<'a, Indexed, Message, Theme, Renderer>
where Theme: Catalog, Renderer: Renderer,
Expand description

Creates an empty graph over the Indexed vocabulary: usize node, pin and anchor ids, no edge ids, no pin payload.

For any other vocabulary name it once: NodeGraph::<AppIds, _, _, _>::new().