facett-graph — crate card
Reverse-engineered (from source — verify, don't trust the name)
- One-line pitch: The graph (node/edge) viewer component on facett-core — build a
Scenefrom a labelled edge list and draw it. - Does: Provides
scene_from_labeled_edges(rows of(src_id, dst_id, src_label, dst_label)→ a colouredScene, ids deduped, nodes FNV-hashed by label) andGraphView(aScene+Layout, implementsFacetwith freestate_json). Also shipsdepgraphwithDepGraphView/DepNode/DepEdgeanddraw_arrow— a layered/toposorted dependency-DAG view with deps/dependents drill-down. - Key deps:
facett-core(Scene, Facet, draw, hash_color, Theme),egui,serde_json. - Shape: lib; small (lib.rs + depgraph.rs).
- Observed role in the workspace: Consumed by facett-arrow (Arrow→Scene→GraphView), facett-pipeline (composes
DepGraphViewfor layout), and re-exported by the umbrellafacett. The reusable "graph from edges" adapter korp's Graph and Pipelines views want.
Fill in (one line each — only the human knows these)
- Primary consumer(s):
- Why it exists (vs the obvious alternative):
- Hard constraint (airgap / no-C-deps / no-FFI / pure-Rust / etc.):
- Release cadence & independence (rides a parent? own repo someday?):
- Status (production / prototype / experimental / stubbed):
- Must-NOT-change invariant:
- Biggest known gap or TODO:
- Anything a newcomer would get wrong about it: