Generate Highly Meshed Graph With Python

Published: 09 November 2019
on channel: codetutor
161
10

code found on github at the link : https://github.com/ntuifranklin/draw_...
Please note that to run this code, you need to have installed python(version 3+) on your computer and you need to have the python path included in your path environment variable.
The rules of the game are as follows :
Every node must participate in the game. If a node is connected with another node, then that node cannot connect back to the previous.
The arcs are single-directional.
We only deal with odd number of nodes. We cannot have even number of nodes.
The minimum number of nodes required is 5
Problem faced :
The program draws the graph very well for every odd number of node above 4, except for 9 nodes where it misses some arcs
from node 2 and node 3(for node 2 and 3). With 9 nodes, the program misses to draw arcs for node 2 and 3 skipping 3 nodes.


Update (November/11/2019): I solved the problem cited above where by we had some issues with some nodes not being connected to other nodes, and also the code was fuzzy with even number of nodes. Now everything works just fine.


On this page of the site you can watch the video online Generate Highly Meshed Graph With Python with a duration of hours minute second in good quality, which was uploaded by the user codetutor 09 November 2019, share the link with friends and acquaintances, this video has already been watched 161 times on youtube and it was liked by 10 viewers. Enjoy your viewing!