broadinstitute / wdltool

BSD 3-Clause "New" or "Revised" License
18 stars 4 forks source link

Ability to display ConditionalNode #49

Closed cjllanwarne closed 7 years ago

cjllanwarne commented 7 years ago

For example this nested if inside a scatter:

import "import_me.wdl" as import_me

workflow outer {
  Array[Int] xs
  scatter (x in xs) {
    Boolean b
    if (b) {
      call import_me.inner as inner { input: i = x }
    }
  }
  output {
    Array[String?] outer_out = inner.out
  }
}

Produces this rather delightful graph: test

To save you some time:

mcovarr commented 7 years ago

:+1:

Approved with PullApprove