Open chouchouxia opened 3 years ago
Interesting. I will lool this up and give u a answer later
Hi. The code in the visual_sample notebook actually used the old version of the function construct graph and at that time the function only returns edges instead of both edges and weights. So what you are doing (pass A[0]) is right since A[1] is the weight of the edges and should not be passed into draw() function. Thank you for finding this bug!
BTW, if you find this repo helpful. Please star it. It will help a lot
Hello ,when I try to run "Visual sample note book", I came across a question:
when I run the following code:
A = graph_construct.graph_construct_radius(test_1000, 0.3); G = visual.graph(A); visual.draw_graph(G, test_1000);
I got an error like this:
`TypeError Traceback (most recent call last)