Documentation
¶
Overview ¶
Package export writes the assembled graph to disk. graph.json is the primary artifact (committed by CI, read by the query commands and the Claude skill); it uses the same NetworkX node-link shape as the Python original so existing tooling keeps working.
Index ¶
- func CSVFromJSON(jsonPath, nodesPath, edgesPath string) error
- func DOTFromJSON(jsonPath, outPath string) error
- func GraphMLFromJSON(jsonPath, outPath string) error
- func OKFFromJSON(jsonPath, outDir string) error
- func ToJSON(g *model.Graph, communities map[int][]string, path, builtAtCommit string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSVFromJSON ¶ added in v0.3.0
CSVFromJSON writes the graph's nodes and edges to two CSV files.
func DOTFromJSON ¶ added in v0.3.0
DOTFromJSON writes the graph at jsonPath to outPath as a Graphviz digraph.
func GraphMLFromJSON ¶ added in v0.3.0
GraphMLFromJSON writes the graph at jsonPath to outPath as GraphML.
func OKFFromJSON ¶ added in v0.6.0
OKFFromJSON writes an OKF bundle for the graph at jsonPath into outDir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.