pub fn to_json(graph: &GeometryGraph) -> Result<String, WireError>Expand description
Write graph as a JSON payload.
ยงErrors
WireError::NonFinite if the graph holds a NaN or an infinity.
pub fn to_json(graph: &GeometryGraph) -> Result<String, WireError>Write graph as a JSON payload.
WireError::NonFinite if the graph holds a NaN or an infinity.