Expand description
Visualization model and renderers for RoleGraph.
Converts a RoleGraph into a VisualGraph — a graph-oriented DTO
suitable for JSON export, DOT/Mermaid rendering, and terminal tree output.
Structs§
- Visual
Edge - An edge in the visual graph.
- Visual
Graph - Top-level visualization graph.
- Visual
Managed Schema - A schema plus the managed facets owned within that schema.
- Visual
Managed Scope - Optional managed-scope metadata for bundle-aware graph output.
- Visual
Meta - Metadata about the graph.
- Visual
Node - A node in the visual graph.
Enums§
- Edge
Kind - The kind of a visual edge.
- Node
Kind - The kind of a visual node.
- Visual
Source - Where the graph data came from.
Constants§
Functions§
- build_
visual_ graph - Build a
VisualGraphfrom aRoleGraph. - render_
dot - Render the graph as Graphviz DOT.
- render_
json - Render the graph as pretty-printed JSON.
- render_
mermaid - Render the graph as Mermaid flowchart syntax.
- render_
tree - Render the graph as an indented text tree for terminal display.