Calculate node colors based on an input graph and color dict.
DEPRECATED. This function (and the networkit.viztasks module) will be removed in future updates.
G (networkit.Graph) – The input graph.
coloring (dict()) – Coloring scheme as dict.
List with color values for each node.
list(tuple(float, float, float))
Draws the community graph for a given graph and partition. Passes any additional arguments to networkx.draw(…). By default, node sizes are scaled between 30 and 500 by community size.
DEPRECATED. This function (and the networkit.viztasks module) will be removed in future updates. Use networkit.vizbridges instead to draw graphs (needs additional plugins).
G (networkit.Graph) – The input graph.
zeta (networkit.Partition) – The input partition.
**kwargs (dict()) – Additional arguments for networkx.draw function.
Draws a graph via networkX. Passes additional arguments beyond the graph to networkx.draw(…). By default, node sizes are scaled between 30 and 300 by node degree.
DEPRECATED. This function (and the networkit.viztasks module) will be removed in future updates. Use networkit.vizbridges instead to draw graphs (needs additional plugins).
G (networkit.Graph) – The input graph.
**kwargs (dict()) – Additional arguments for networkx.draw function.
Save a figure.
DEPRECATED. This function (and the networkit.viztasks module) will be removed in future updates.
name (str) – Name of the output file.
dir (str) – Output directory. Default: “.”