Management Commands

create_graph

class viewflow_extensions.management.commands.flow_graph.Command(stdout=None, stderr=None, no_color=False)[source]

Bases: django.core.management.base.BaseCommand

Create graphs from the path to flow class using graphviz.

Example usage:

usage: manage.py flow_graph [--svg] flow_path

Create graph for the given flow.

positional arguments:
  flow_path             complete path to your flow, i.e. myapp.flows.Flow

optional arguments:
  -s, --svg             create graph as svg file

Note

This extensions requires graphviz to be installed.