API Reference
crategraph's public API is centred on the Graph class. The Crate convenience subclass loads RO-Crate data, but all filtering, transformation, and visualisation methods live on Graph.
As a naming convention, graph-view methods return Graph objects so they can be chained. Methods ending in records return row-like iterables with stable schemas for tabular or export workflows. Other non-graph results are exposed through explicit names such as summary(), inspect(), view(), write(), and to_networkx().
- Graph & Crate — loading, filtering, transforming, and visualising graphs
- Data Models —
Entity,Relationship,FileInfo, and validation models - Type Discovery —
TypeRegistryfor fuzzy type validation and autocomplete - Plugin Interfaces — ABCs for extending crategraph with custom readers, writers, renderers, validators, and inspectors