main_draw_sankey

This script is used to draw sankey diagrams from .gml files.

Load sankey diagram and draw it in a file.

python main_draw_sankey.py OUT_DIR
    [--sankey FILE | --sankey-folder FOLDER]
    [--community ID1 [--community ID2 [ ... ]]] | --all-communities]
    [[--optimizer {GA,HA,SA} ] [--optimizer-time TIME] | --no-optimizer]
    [--colormap COLORMAP]

OUT_DIR is the directory where sankey will be drawn.

Inputs:
* --sankey FILE               FILE is the .gml sankey file ot tcommlist
* --sankey-folder FOLDER      FOLDER contains the .gml sankey diagrams or tcommlists to draw
* --community ID              ID of a community to draw (can be set multiple times).
                              In this case, set communities are drawn in their own file.
* --all-communities           All communities are drawn in their own file.
* --optimizer {GA,HA,SA}      Set sankey optimizer algorithm (in the absence of config file)
* --optimizer-time TIME       Set max optimization time (in the absence of config file)
* --no-optimizer              Disable the optimization process if flag present
                              (supersedes config file)
* --colormap COLORMAP         Set plotly colormap for sankey drawing (in the absence of config file)