Description
There is currently no way to export the knowledge graph visualization as an image. Users should be able to save the graph as a PNG for sharing, documentation, or presentations.
Proposed Implementation
- Use Sigma.js
toCanvas() method to render the graph to a canvas
- Convert canvas to PNG via
canvas.toDataURL()
- Add "Export as PNG" button in
GraphControls.tsx
- Support custom resolution/DPI for high-quality exports
- Include legend and title in the exported image
Acceptance Criteria
Description
There is currently no way to export the knowledge graph visualization as an image. Users should be able to save the graph as a PNG for sharing, documentation, or presentations.
Proposed Implementation
toCanvas()method to render the graph to a canvascanvas.toDataURL()GraphControls.tsxAcceptance Criteria