cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

graph traversal utility

Open hjoliver opened this issue 7 months ago • 1 comments

See discussion at #6221 - we need a way for users to easily see what happens downstream of arbitrary points in the graph, particularly prior to staging a runtime intervention.

static

Plot all paths downstream of chosen task(s) in the graph, e.g.:

$ cylc graph [--from-task=4/model] [--max-edges=10] [--stop-cycle=5]

live (GUI)

Plot all paths downstream of chosen task(s) in the graph, as above, but get the result into the datastore somehow.

  • could be done with simulation mode, with a special flow number to avoid impacting a subsequent real flow?

notes

  • to see if a cut branch is just a self-terminating side-branch: follow until it dead-ends (probably a side-branch) or hits the next cycle point (probably not a side branch)
  • highlight any off-flow prerequisites

hjoliver avatar Jul 16 '24 05:07 hjoliver