1.2.3. Define Node Instance Representation
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3538800. -->
Reported by: [d34dman](https://www.drupal.org/user/751698)
>>>
<ul>
<li>Workflow nodes themselves may not need separate entities initially; store them as JSON in the <code>definition</code> field of <code>Workflow</code> entity.</li>
<li>Design JSON structure to support:
<ul>
<li>Unique node ID within workflow</li>
<li>Node type reference</li>
<li>Configuration array (validated against <code>NodeType.config_schema</code>)</li>
<li>Connection edges for input/output mapping</li>
</ul>
</li>
<li>Plan for future migration to standalone entity if runtime or revisions require relational storage.</li>
</ul>
issue