Skip to content

imaguiraga/flow-preview-kyrcoh

Repository files navigation

flow-preview-kyrcoh

Open in StackBlitz

Open in CodeSandBox

Open in Gitpod

A flow DSL javascript Visualizer using antvis G6 Graph and CodeMirror as text editor.

Flow elements

  • sequence(array)
  sequence("a", "b", 
    repeat(optional("c")), 
    zeroOrMore("d")
  )
  • choice(array)
  choice(
    terminal("a"),
    choice("e", "d")
  )
  • optional(flowElement)
  optional("c")
  • repeat(flowElement)
  repeat(optional("c"))
  • terminal(string)

    terminal("b")
  • zeroOrMore(flowElement)

    zeroOrMore("d")