Function graph_to_json

Source
pub fn graph_to_json<N: Serialize, E: Serialize>(
    graph: &ForceGraph<N, E>,
) -> Result<Value, Error>
Available on crate feature json only.
Expand description

Create a json value from a ForceGraph.