Skip to main content

openquiver_graph/
lib.rs

1//! OpenQuiver graph IR.
2//!
3//! The bottom layer: plain data with no I/O and no knowledge of how a graph
4//! looks on disk. The file format is a projection of this IR, never the other
5//! way around.
6//!
7//! Split by responsibility rather than by size: identity and nodes, wires, the
8//! graph, the tables keyed by those identities, and the editing operations that
9//! have to keep all of them in step.
10
11mod document;
12mod edge;
13mod graph;
14mod layout;
15mod node;
16mod trivia;
17mod value;
18
19pub use document::{Document, RenameError, is_identifier};
20pub use edge::{Edge, EdgeKind, PinRef};
21pub use graph::Graph;
22pub use layout::Layout;
23pub use node::{Node, NodeName, NodeTypeId};
24pub use trivia::{Anchor, Trivia};
25pub use value::{DataType, Value};