You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert metamodel to pflow visual format for editor rendering
The /api/templates endpoint returns metamodel format (states/actions/arcs)
but petri-view expects pflow.xyz format (places/transitions with x,y).
metamodelToPflow() converts between formats with circular auto-layout
so templates render visually in the editor instead of showing an empty canvas.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments