How to use ftg - Flow Table Grapher

Use
===
$ ./ftg.py -i flow-dump.txt | dot -Tsvg > flow-dump.svg

flow-dump.txtは、フローテーブルをダンプしたファイルで、
Open vSwitchの「ovs-ofctl dump-flows br0 > flow-dump.txt」
などで事前に作成します。
出力されたflow-dump.svgは、SVG形式をサポートしたブラウザ
などで開くことができます。dotコマンドの-Tオプションで、
出力形式をpngやpdfに指定することもできますが、フロー数が
多い場合はsvgやpdf形式にすることをお勧めします。

Usage
=====
Usage: ftg.py options
Usage: ftg.py [options]

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-i FILE, --ovs_dump_file=FILE
specify Open vSwitch dump-flows FILE
-c FILE, --csv_dump_file=FILE
specify CSV dump FILE
-t FILE, --tsv_dump_file=FILE
specify TSV dump FILE
-f FORMATTER, --formatter=FORMATTER
specify formatter (graphviz, csv, tsv)
-b ENTRIES_PER_BLOCK, --entries_per_block=ENTRIES_PER_BLOCK
specify number of entries in priority block
-T OUTPUT_TARGET_TABLES, --tables=OUTPUT_TARGET_TABLES
specify the tables to be output.
-v, --verbose verbose output
-d, --debug debug output

  Output Flags:
--enable_output_resubmit_loop
enable the output of the 'resubmit to start' that re-
evaluate at the same table
--disable_output_resubmit_loop
disable the output of the 'resubmit to start' that re-
evaluate at the same table
--enable_output_summary
enable the output of the summary informations
--disable_output_summary
disable the output of the output summary informations