| visualize_graph | R Documentation | 
Visualize the CWL workflow
visualize_graph(
  g,
  hierarchical = TRUE,
  direction = "LR",
  separation = 300,
  palette = c("#C3C3C3", "#FF8F00", "#00AAA8"),
  width = "100%",
  height = 600
)
g | 
 Graph generated by   | 
hierarchical | 
 Enable the hierarchical layout? Default is   | 
direction | 
 Direction of the hierarchical layout.
Options include   | 
separation | 
 Level separation parameter from
  | 
palette | 
 Three-color palette for inputs, outputs, and steps.  | 
width | 
 Canvas width, see   | 
height | 
 Canvas height, see   | 
A visNetwork output.
flow <- system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>% read_cwl_json()
get_graph(
  flow %>% parse_inputs(),
  flow %>% parse_outputs(),
  flow %>% parse_steps()
) %>% visualize_graph()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.