Thinking about the interoperability between the online docs and studio, it would be nice to support a copy-paste workflow.
What I'm imagining is that simple programs in the docs could be copy/pasted into the Flojoy Studio SCRIPT tab. The docs page would look something like this:
When clicking on the copy icon, the JSON spec for the flow chart snippet would be copied to the clipboard, looking something like this:
Thinking about the interoperability between the online docs and studio, it would be nice to support a copy-paste workflow.
What I'm imagining is that simple programs in the docs could be copy/pasted into the Flojoy Studio SCRIPT tab. The docs page would look something like this:
When clicking on the copy icon, the JSON spec for the flow chart snippet would be copied to the clipboard, looking something like this:
We'd want to strip out any
ctrls
,ctrlsManifest
, and anything else that could inadvertently add something unexpected.Then, upon pasting in Studio, we'd pop up a dialogue with a preview of the nodes. There would be 3 options in this dialogue: