visualize_graph
Generate interactive HTML network visualizations of entity relationships. Customize node colors by type or community, and sizes by PageRank centrality to discover patterns.
Instructions
Generate interactive HTML visualization of the knowledge graph using PyVis. Creates a beautiful network diagram with customizable node colors (by entity type or community), node sizes (by PageRank/betweenness/degree), and interactive physics simulation. Perfect for exploring entity relationships and discovering patterns in the knowledge base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Output file path for HTML visualization (relative to data directory or absolute path) | knowledge_graph.html |
| entity_types | No | Filter to specific entity types | |
| min_occurrences | No | Minimum entity occurrences to include | |
| min_relationship_strength | No | Minimum relationship strength | |
| color_by | No | Node coloring scheme | entity_type |
| size_by | No | Node sizing metric | pagerank |
| physics_enabled | No | Enable physics simulation for dynamic layout | |
| height | No | Visualization height (CSS format) | 800px |
| width | No | Visualization width (CSS format) | 100% |