semantica.visualization renders knowledge graphs, ontologies, embedding spaces, and temporal data as interactive HTML or static images: without launching the full Explorer server:
KGVisualizer: interactive network with force, hierarchical, and circular layoutsEmbeddingVisualizer: 2D/3D UMAP or t-SNE projections with cluster labelsTemporalVisualizer: timeline views and graph evolution across snapshotsAnalyticsVisualizer: centrality scores, community structure, degree distribution charts
plotly: pip install plotly. Some exporters also need matplotlib or graphviz.
Exported Classes
Quick Start
1
Render a knowledge graph
2
Apply layout and color options
3
Export to static formats
Visualizers
- KGVisualizer
- OntologyVisualizer
- EmbeddingVisualizer
- TemporalVisualizer
- AnalyticsVisualizer
Interactive and static knowledge graph rendering:Layout options (
layout=):Color Schemes
All visualizers accept acolor_scheme= constructor parameter:
Export Formats
Convenience Functions
Graph Explorer (Full Dashboard)
For a full browser-based UI with search, path finding, and the Ontology Hub, launch the Explorer CLI:- Knowledge Graph — The graph being visualized.
- Ontology — Visualize ontology class structure.
- Embeddings — Generate the embeddings visualized here.
- Explorer — Full interactive Knowledge Explorer UI.
