Crate drisk_api

Source
Expand description

Graph diff library for Rust and extension module for Python.

A graph diff is a delta between two graphs. This module provides:

  • a generic graph diff implentation,
  • a serialization/deserialization API,
  • specific types for the dRISK API,
  • and a Python extension module for the dRISK API.

See the documentation for GraphDiff for more information.

Structs§

EdgeDiff
A diff between the edges of a graph.
GraphDiff
A differential between two graphs.
NodeDiff
A diff between the nodes of a graph.
NodeUpdate
Update type for the dRISK API.

Functions§

bytes_to_graph_diff
Deserialize a GraphDiff from a byte slice.
graph_diff_to_bytes
Serialize a GraphDiff to a byte vector.