Using TF Knowledge Graph
Explore without running a notebook
Open the included N1904 graph in your browser. Right-click a node or edge and choose “Show Node Info” or “Show Edge Info” to inspect it.
The interactive viewer loads Cytoscape.js and its context-menu plugin from a CDN, so it requires an internet connection.
Generate a graph
Use a Python environment that can run Jupyter Notebooks and Text-Fabric. The notebooks document their dependencies and dataset loading steps.
- Download or clone the repository.
- Open create_knowledge_graph.ipynb. Review the dataset configuration and run the cells to generate the JSON graph.
- Open generate_cytoscape_html.ipynb to add node positions and generate the interactive HTML file.
- Open the generated HTML file in your browser to explore the result.
Included example files
| File | Purpose |
|---|---|
| Knowledge graph JSON | The exported N1904 knowledge graph. |
| Cytoscape elements JSON | Graph elements used for visualization. |
| Node positions JSON | Saved coordinates for the graph layout. |
| Interactive HTML graph | The browser-based N1904 viewer. |
