he show¶
Visualize knowledge graph using OntoSight interactive viewer.
Synopsis¶
Arguments¶
| Argument | Description |
|---|---|
KA_PATH |
Path to knowledge abstract directory |
Description¶
Opens an interactive visualization of your knowledge graph in the default web browser. The visualization displays:
- Nodes — Entities, concepts, or items (colored by type)
- Edges — Relationships between nodes
- Labels — Click on nodes/edges to see details
Examples¶
Basic Usage¶
After Extraction¶
# Extract first
he parse tesla.md -t general/biography_graph -o ./tesla_kb/ -l en
# Then visualize
he show ./tesla_kb/
After Incremental Update¶
# Add more content
he feed ./tesla_kb/ additional_info.md
# Visualize updated graph
he show ./tesla_kb/
Visualization Features¶
The OntoSight viewer provides:
Interactive Controls¶
- Zoom — Mouse wheel or pinch gesture
- Pan — Click and drag background
- Select — Click on nodes/edges to see details
- Filter — Show/hide node types
Node Display¶
- Size indicates importance (configurable)
- Color indicates entity type
- Label shows entity name
Edge Display¶
- Thickness indicates relationship strength
- Label shows relationship type
- Direction shows relationship flow
Supported Auto-Types¶
Visualization works with all graph-based Auto-Types:
| Auto-Type | Visualization |
|---|---|
AutoGraph |
✓ Full graph visualization |
AutoHypergraph |
✓ Hypergraph with multi-node edges |
AutoTemporalGraph |
✓ Graph with temporal info |
AutoSpatialGraph |
✓ Graph with spatial info |
AutoSpatioTemporalGraph |
✓ Full context visualization |
AutoList |
✓ List view |
AutoSet |
✓ Set view |
AutoModel |
✓ Structured view |
Troubleshooting¶
"Browser doesn't open"¶
The visualization URL is printed. Open it manually:
"Empty graph displayed"¶
Check that extraction worked:
"Error loading visualization"¶
Ensure the knowledge abstract is valid: