src/export/SKILL.md
GNN multi-format export generation. Use when exporting GNN models to JSON, XML, GraphML, GEXF, Pickle, or other interchange formats for use in external tools and frameworks.
npx skillsauth add activeinferenceinstitute/generalizednotationnotation gnn-exportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Exports parsed GNN models to multiple interchange formats for interoperability with external tools, visualization platforms, and analysis frameworks.
# Run export
python src/7_export.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/main.py --only-steps 7 --verbose
| Format | Extension | Use Case |
| -------- | ----------- | ---------- |
| JSON | .json | General interchange, web tools |
| XML | .xml | Enterprise integration |
| GraphML | .graphml | Graph analysis tools (Gephi, yEd) |
| GEXF | .gexf | Dynamic graph visualization |
| Pickle | .pkl | Python-native serialization |
from export import (
export_model, generate_exports, export_single_gnn_file,
Exporter, MultiFormatExporter, get_supported_formats,
export_to_json, export_to_xml, export_to_graphml, export_to_gexf,
process_export
)
# Export single file to all formats
export_single_gnn_file("model.md", "output/")
# Use the Exporter class
exporter = Exporter()
result = exporter.export_gnn_model(gnn_content, "json")
# Multi-format export
mf_exporter = MultiFormatExporter()
results = mf_exporter.export_to_multiple_formats(content, ["json", "xml", "graphml"])
# Query supported formats
formats = get_supported_formats()
# Run full export step (used by pipeline)
process_export(target_dir, output_dir, verbose=True)
export_model / export_single_gnn_file — export a single modelgenerate_exports — batch export for a directoryExporter / MultiFormatExporter — class-based export interfacesexport_to_json, export_to_xml, export_to_graphml, export_to_gexf — format-specificprocess_export — main pipeline processing functionoutput/7_export_output/This module registers tools with the GNN MCP server (see mcp.py):
process_exportlist_export_formatsvalidate_export_formatdevelopment
GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model visualizations, or publishing pipeline results as a static site.
data-ai
GNN graph and matrix visualization generation. Use when creating network graph plots, matrix heatmaps, state space diagrams, or other visual representations of GNN models.
testing
GNN advanced validation and consistency checking. Use when performing deep validation of GNN models, checking cross-model consistency, verifying structural integrity, or running validation reports.
tools
GNN shared utility functions and helper modules. Use when working with common pipeline utilities, logging helpers, file I/O wrappers, path management, or pipeline template infrastructure.