Principle:7onez Cti expert Interactive Network Visualization
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Visualization |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Method for producing self-contained interactive network diagrams from graph data, with vendored JS inlined and no external CDN dependencies, ensuring the diagram is openable offline and embeddable in reports.
Description
Interactive Network Visualization solves the problem of dead-link diagrams: a diagram that depends on a CDN-hosted JavaScript library will break when the CDN is down, the library version is yanked, or the report is opened offline. The principle states that the diagram must be self-contained:
- The JS library (Cytoscape.js) is vendored — a pinned copy is stored in the repo and inlined into the HTML at render time.
- The graph data is embedded as JSON in the HTML — no fetch, no external data file.
- The HTML has no external dependencies — it can be opened from a file:// URL, embedded in a PDF report, or opened on an air-gapped machine.
The diagram supports interactive exploration: node sizing by broker centrality, color by cluster, shape by entity type, and community cycling.
Usage
Use this principle when designing visualization tools where:
- The diagram must be openable offline (air-gapped analysis, archived reports).
- No external CDN dependencies are acceptable (CDNs go down, versions get yanked).
- The diagram must be embeddable in a report (self-contained HTML, no external assets).
- Interactive exploration (zoom, pan, click nodes) is needed for the analyst.
Theoretical Basis
The principle is vendoring for reproducibility: the JS library is pinned and stored in-repo, not loaded from a CDN. This is the same principle as vendoring dependencies in a Go project — the build is reproducible because the dependency is frozen.
# Abstract algorithm (NOT real implementation)
def render_network(graph_json, out_html):
template = load_template()
libs = inline(read("vendor/cytoscape.js")) # vendored, inlined
graph = json.dumps(read_json(graph_json))
html = template.replace("__LIBS__", libs).replace("__GRAPH__", graph)
write(out_html, html) # no external deps
The same principle is applied by render_mermaid (Pele is pinned and sha512-verified). A diagram that breaks when a CDN changes is worse than no diagram — it looks like it works and silently doesn't.
Related Pages
Implemented By
- Implementation:7onez_Cti_expert_Render_Network_Main
- Implementation:7onez_Cti_expert_Render_Mermaid_Render
Used By Workflow
- Workflow:7onez_Cti_expert_Domain_Investigation (Step 7: Verify and Report)
- Workflow:7onez_Cti_expert_Deterministic_Case_Pipeline (Step 5: Case Graph and Network Visualization)