src/dazzle_back/runtime/graph_serializer.py¶
Generated: 2026-03-30T04:38:47.337222+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Graph-shaped API response serializer (#619 Phase 2).
Transforms flat entity lists into Cytoscape.js or D3 force-graph JSON. Pure data transformation — no DB access, no request handling.
Key Exports¶
GraphSerializerto_cytoscapeto_d3
Dependencies¶
Imports¶
typing.Anydazzle.core.ir.GraphEdgeSpecdazzle.core.ir.GraphNodeSpec
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_graph_serializer.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.