Skip to main content
Go to Editor

Socket Types & Data Flow

socketstypesdataconnections

This article explains the data types used by sockets in the node graph and what can be connected where.

Quick rule

Most processing nodes operate on a Spine Payload. Atlas-related nodes operate on an Atlas Project or Sprites. Use ValidatorNode when you’re unsure what a socket expects.

Socket types

  • Spine Payload — runtime-friendly representation of the Spine project used by most processing nodes.
  • Atlas Project — atlas metadata + page images used by atlas nodes.
  • Sprites — unpacked sprite images/regions (Atlas Unpacker → Asset Viewer / Atlas Repacker).
  • JSON — original or reconstructed Spine JSON for diagnostics/validation/diffing.
  • Changes — a list/stream of diffs produced by some optimizers and used by viewer/reporting nodes.

Key → type → connect to

Socket key (examples)Data typeProduced byConnect to
payload, payload_in, payload_outSpine PayloadInputNode, most processing nodesProcessing nodes (RDP/Spline/Refit/Quantizer/Cleanup/etc.), then OutputNode.payload
original_jsonJSONInputNodeDiagnosticNode, JSONDiffNode.json_before, OutputNode.original_json, some atlas nodes (e.g. repacker alpha mode)
reconstructed_json_outJSONOutputNodeJSONDiffNode.json_after, validators/debug
changesChanges listSome processing nodes + OutputNodeAnimationViewerNode (optional), reports/debug
atlas_projectAtlas ProjectInputNode / atlas viewerAtlasUnpackerNode.atlas_project, OutputNode.atlas_project, atlas filters
atlas_in, atlas_outAtlas Project (or atlas-related stream)Atlas nodes / filtersAtlas nodes, AtlasViewerNode, AtlasMergerNode (via its multi-input)
sprites_out, sprites_in, sprites_data_inSpritesAtlasUnpackerNode, filtersAssetViewerNode.sprites_in, AtlasRepackerNode.sprites_data_in
atlas_inputsMultiple Atlas ProjectsMultiple sourcesAtlasMergerNode.atlas_inputs (connect several atlases)

Practical pipelines

  • Basic JSON optimization: InputNode → (optional: DiagnosticNode / filters) → optimizers (RDPNode, SplineNode, QuantizerNode, …) → OutputNode.
  • Atlas repacking: InputNode.atlas_projectAtlasUnpackerNode → (optional: AssetViewerNode) → AtlasRepackerNodeOutputNode.atlas_project/atlas_assets.