Coder Social home page Coder Social logo

visualize_webflow's Introduction

visualize_webflow

- Spring WebFlow visualization utility

This python script processes spring webflow configuration (flow.xml files) and makes a graph of the flow states using graphviz dot utility.

Note - python and graphviz must be available on the PATH.

usage: visualize_webflow.py [-h] [-d] [-s] [--skip-flows SKIPFLOWS]
                            [--skip-states SKIPSTATES]
                            [--split-states SPLITSTATES]
                            [--merge-states-min-inputs MERGEMINTOTAL]
                            [--merge-states-min-common-inputs MERGEMINCOMMON]
                            [--merge-states-max-diff-inputs MERGEMAXDIFF]
                            [--hide-conditions]
                            [--flow-id-path-steps FLOW_ID_PATH_STEPS]
                            [-o OUTPUT] [-v]
                            input

positional arguments:
  input                 the path to <webflow-servlet.xml> or <flow.xml>

optional arguments:
  -h, --help            show this help message and exit
  -d, --dot             invoke DOT to generate a PDF for each flow (requires
                        -o or -s)
  -s, --split           split output by subflow
  --skip-flows SKIPFLOWS
                        comma-separated list of subflows to skip
  --skip-states SKIPSTATES
                        comma-separated list of states to skip
  --split-states SPLITSTATES
                        comma-separated list of states to split (for
                        frequently used states)
  --merge-states-min-inputs MERGEMINTOTAL
                        auto-merge states with at least this many inputs
                        (default 5)
  --merge-states-min-common-inputs MERGEMINCOMMON
                        auto-merge states with at least this many common
                        inputs (default 3)
  --merge-states-max-diff-inputs MERGEMAXDIFF
                        auto-merge states with at most this many different
                        inputs (default 7)
  --hide-conditions     hide decision state conditions
  --flow-id-path-steps FLOW_ID_PATH_STEPS
                        how many steps in the flow.xml path to use as flow ID
                        (default 1)
  -o OUTPUT, --output OUTPUT
                        output DOT file name (ignored if -s is specified)
  -v, --verbose         be verbose

Example output

example output

visualize_webflow's People

Contributors

rustyx avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.