Creating a graph / graph graph

When working with the shortest path algorithm over a network, I would like to create a network image. I would like to represent the nodes (circles), links (lines), the cost of following the link (the number in the middle of the line) and the link bandwidth (the number on the communication line next to the node it represents) in the picture. Is there any library / software that will help automate the creation of this picture?

I can do this manually in Visio or using some kind of drawing application, but I would like to generate them from the code when I change / configure the network.

+3
source share
5 answers

GraphViz, . node, , , .

+7

python, Nodebox .

+4

- , . , , , , .

, , , , .

.NET - , Graphics, - . , , /, .NET - , .

:.NET 2D-, . - GetPixel() SetPixel() Bitmap. , , , .

+1

R? , , . r-project.org

0

There are many visualizations of various algorithms here: Algorithm Animation Workshop

-1
source

Source: https://habr.com/ru/post/1699675/


All Articles