โ† All examples

Flow Diagram

Canonical Scrwly scene example: flow-diagram

Flow Diagram Visual scene flow-diagram {"version":"0.1","sceneId":"flow-diagram","targets":[{"nodeId":"flow-one-box","semanticRole":"shape","animation":"fade","order":1,"startPct":14.86,"durationPct":8,"value":"Input","label":"Input"},{"nodeId":"flow-one-icon-halo","semanticRole":"shape","animation":"fade","order":2,"startPct":17.71,"durationPct":8},{"nodeId":"flow-one-icon","semanticRole":"shape","animation":"fade","order":3,"startPct":20.57,"durationPct":8,"value":"Input","label":"Input"},{"nodeId":"flow-two-box","semanticRole":"shape","animation":"fade","order":6,"startPct":29.14,"durationPct":8,"value":"Process","label":"Process"},{"nodeId":"title","semanticRole":"label","animation":"label","order":0,"startPct":32,"durationPct":8,"value":"Flow Diagram","label":"Flow Diagram"},{"nodeId":"flow-two-icon-halo","semanticRole":"shape","animation":"fade","order":7,"startPct":32,"durationPct":8},{"nodeId":"flow-two-icon","semanticRole":"shape","animation":"fade","order":8,"startPct":34.86,"durationPct":8,"value":"Process","label":"Process"},{"nodeId":"flow-one-label","semanticRole":"label","animation":"label","order":4,"startPct":38.67,"durationPct":8,"value":"Input","label":"Input"},{"nodeId":"flow-three-box","semanticRole":"shape","animation":"fade","order":11,"startPct":43.43,"durationPct":8,"value":"Output","label":"Output"},{"nodeId":"flow-two-label","semanticRole":"label","animation":"label","order":9,"startPct":45.33,"durationPct":8,"value":"Process","label":"Process"},{"nodeId":"flow-three-icon-halo","semanticRole":"shape","animation":"fade","order":12,"startPct":46.29,"durationPct":8},{"nodeId":"flow-three-icon","semanticRole":"shape","animation":"fade","order":13,"startPct":49.14,"durationPct":8,"value":"Output","label":"Output"},{"nodeId":"flow-three-label","semanticRole":"label","animation":"label","order":14,"startPct":52,"durationPct":8,"value":"Output","label":"Output"},{"nodeId":"flow-one-arrow","semanticRole":"connector","animation":"draw","order":5,"startPct":58.29,"durationPct":14},{"nodeId":"flow-two-arrow","semanticRole":"connector","animation":"draw","order":10,"startPct":72.57,"durationPct":14}]} Flow Diagram InputInput?InputProcessProcessProcessOutputOutputOutput
{
  "version": "0.1",
  "schemaVersion": "0.1",
  "id": "flow-diagram",
  "title": "Flow Diagram",
  "canvas": {
    "width": 900,
    "height": 520,
    "background": "background",
    "padding": 48
  },
  "theme": {
    "id": "clean-light"
  },
  "nodes": [
    {
      "id": "title",
      "x": 450,
      "y": 64,
      "type": "text",
      "text": "Flow Diagram",
      "fontSize": 28,
      "fontWeight": 800,
      "align": "center"
    },
    {
      "id": "flow",
      "x": 90,
      "y": 170,
      "width": 720,
      "height": 140,
      "type": "component",
      "component": "FlowDiagram",
      "props": {
        "direction": "horizontal",
        "items": [
          {
            "id": "one",
            "label": "Input",
            "icon": "question"
          },
          {
            "id": "two",
            "label": "Process",
            "icon": "arrow"
          },
          {
            "id": "three",
            "label": "Output",
            "icon": "check"
          }
        ]
      }
    }
  ]
}