pyclustering
0.10.1
pyclustring is a Python, C++ data mining library.
|
Graph representation (uses format GRPR). More...
Classes | |
class | graph |
Graph representation. More... | |
class | type_graph_descr |
Enumeration of graph description. More... | |
Functions | |
def | read_graph (filename) |
Read graph from file in GRPR format. More... | |
def | draw_graph (graph_instance, map_coloring=None) |
Draw graph. More... | |
Graph representation (uses format GRPR).
def pyclustering.utils.graph.draw_graph | ( | graph_instance, | |
map_coloring = None |
|||
) |
Draw graph.
[in] | graph_instance | (graph): Graph that should be drawn. |
[in] | map_coloring | (list): List of color indexes for each vertex. Size of this list should be equal to size of graph (number of vertices). If it's not specified (None) than graph without coloring will be dwarn. |