×
Menu
Index

6.1.37 VESankey

Sankey generation API. VESankey contains functionality to define a network of nodes and their connections, and generate a Sankey diagram based on the input data.
Usage:
        sankey = iesve.VESankey('depth')
        sankey.add_column_names(col_titles)
        sankey.set_title(‘Sankey Diagram’)
        sankey.add_node_columns(nodes_cols)
        sankey.add_connections(connections)      
        sankey.generate_sankey()
        sankey.save_svg(svg_file)