How ammarw/ue5_graphcapture works
UE5_GraphCapture is an Unreal Engine editor plugin for capturing graph-editor screenshots and exporting graph structure as JSON. The main workflows begin with toolbar/menu commands: screenshot capture inspects graph-editor widgets and saves images, while JSON export presents configurable options before reading graph data and writing an export. The README documents support for Blueprint, Material, Behavior Tree, and AI graphs; sampled exporter code also handles Niagara custom HLSL. Screenshot internals and export wiring are visible in excerpts, but unsampled implementation details are not inferred.
Main entry points: UE5_GraphCapture.cpp Plugin module · UE5_GraphCaptureJsonExporter.cpp Graph JSON exporter · UE5_GraphCaptureCommands.cpp Editor commands · UE5_GraphCaptureOptionsDialog.cpp Export options dialog
Components 14
Editor integration
- Graph workspace
- Editor commands
Source/UE5_GraphCapture/Private/UE5_GraphCaptureCommands.cpp - Plugin module
Source/UE5_GraphCapture/Private/UE5_GraphCapture.cpp - Graph editor widget
- Editor notifications
Source/UE5_GraphCapture/Private/UE5_GraphCapture.cpp
Screenshot capture
- Screenshot capture
Source/UE5_GraphCapture/Private/UE5_GraphCapture.cpp - Image writing
Source/UE5_GraphCapture/Private/UE5_GraphCapture.cpp - Screenshot files
JSON export
- Export options dialog
Source/UE5_GraphCapture/Private/UE5_GraphCaptureOptionsDialog.cpp - Graph JSON exporter
Source/UE5_GraphCapture/Private/UE5_GraphCaptureJsonExporter.cpp - Graph structure
- GraphExport.json
Other components
- Editor user
- Project Saved folder
Connections 17
- Editor user → Editor commands: activates
- Editor commands → Plugin module: dispatches
- Plugin module → Graph workspace: finds graph editors
- Plugin module → Screenshot capture: starts capture
- Screenshot capture → Graph editor widget: captures widget
- Screenshot capture → Image writing: submits image
- Image writing → Screenshot files: writes PNG
- Screenshot files → Project Saved folder: saved under
- Plugin module → Editor notifications: reports outcome
- Plugin module → Export options dialog: opens options
- Export options dialog → Plugin module: confirms options
- Plugin module → Graph JSON exporter: invokes export
- Graph JSON exporter → Graph editor widget: reads current graph
- Graph editor widget → Graph structure: provides graph
- Graph JSON exporter → GraphExport.json: serializes and writes
- GraphExport.json → Project Saved folder: saved under
- Graph JSON exporter → Editor notifications: reports export result