cwltool.subgraph
================

.. py:module:: cwltool.subgraph


Attributes
----------

.. autoapisummary::

   cwltool.subgraph.UP
   cwltool.subgraph.DOWN
   cwltool.subgraph.INPUT
   cwltool.subgraph.OUTPUT
   cwltool.subgraph.STEP


Functions
---------

.. autoapisummary::

   cwltool.subgraph.find_step
   cwltool.subgraph.get_subgraph
   cwltool.subgraph.get_step
   cwltool.subgraph.get_process


Module Contents
---------------

.. py:data:: UP
   :value: 'up'


.. py:data:: DOWN
   :value: 'down'


.. py:data:: INPUT
   :value: 'input'


.. py:data:: OUTPUT
   :value: 'output'


.. py:data:: STEP
   :value: 'step'


.. py:function:: find_step(steps, stepid, loading_context)

   Find the step (raw dictionary and WorkflowStep) for a given step id.


.. py:function:: get_subgraph(roots, tool, loading_context)

   Extract the subgraph for the given roots.


.. py:function:: get_step(tool, step_id, loading_context)

   Extract a single WorkflowStep for the given step_id.


.. py:function:: get_process(tool, step_id, loading_context)

   Find the underlying Process for a given Workflow step id.


