vendrinc/elm-flow-layout/1.0.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vendrinc/elm-flow-layout is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 1.0.0 found (1 same-name repos checked); no cached copy. Use another version.

Details

Flow.Operation

type Operation node
= AddBefore { isCondition : Bool } node
| AddAfter { isCondition : Bool } node
| AddParallelBelow { isCondition : Bool } node
| ReattachFalseInsideCondition { index : Int }
| ReattachFalseOutsideCondition { index : Int }
| Remove

Allowed positions:

  • AddBefore: anywhere
  • AddAfter: anywhere
  • AddParallelBelow: anywhere
  • ReattachFalseInsideCondition: on Condition
  • ReattachFalseOutsideCondition: on Condition
  • Remove: anywhere
Config node
-> List Step
-> Operation node
-> Flow node
-> Maybe ( Flow node, List DependencyChange )

applyAt assumes you'll later run optimize to flatten out nested Sequentials and Parallels.

TODO: when we see the usage in some kind of update function, decide whether we should call optimize here implicitly and remove the above comment, or whether to let the user decide when to optimize.

type alias Config node =
{ toId : node -> String }