However, yw graph only renders one code block, and its immediate child blocks, at one time. By default it renders the outermost code block (the overall 'workflow'), and the blocks in that outermost block (the steps in the overall workflow). But you can use the graph.subworkflow configuration property to request that a different, nested block be considered the workflow, and so render that block and its child blocks instead.
You can nest code blocks delimited by
@begin
and@end
tags. For example:However,
yw graph
only renders one code block, and its immediate child blocks, at one time. By default it renders the outermost code block (the overall 'workflow'), and the blocks in that outermost block (the steps in the overall workflow). But you can use thegraph.subworkflow
configuration property to request that a different, nested block be considered the workflow, and so render that block and its child blocks instead.Does that help?