pub fn deserialize_graph<N, E>(json: &str) -> Result<Graph<N, E>, Error>where
N: for<'de> Deserialize<'de>,
E: for<'de> Deserialize<'de>,Expand description
Deserialize a graph from JSON format.
Takes a JSON string and returns a Graph.
pub fn deserialize_graph<N, E>(json: &str) -> Result<Graph<N, E>, Error>where
N: for<'de> Deserialize<'de>,
E: for<'de> Deserialize<'de>,Deserialize a graph from JSON format.
Takes a JSON string and returns a Graph.