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
.
pub fn graph_to_json<N: Serialize, E: Serialize>(
graph: &ForceGraph<N, E>,
) -> Result<Value, Error>
json
only.Create a json value from a ForceGraph
.