done
This commit is contained in:
parent
53f2d0708b
commit
c9b309c1be
BIN
abrak/bullgraph.pdf
Normal file
BIN
abrak/bullgraph.pdf
Normal file
Binary file not shown.
BIN
abrak/igraph_ow8m6ld.png
Normal file
BIN
abrak/igraph_ow8m6ld.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
abrak/igraphr1i7p56p.png
Normal file
BIN
abrak/igraphr1i7p56p.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
14
generate-modified-graph.py
Normal file
14
generate-modified-graph.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from igraph import *
|
||||||
|
|
||||||
|
|
||||||
|
def generate_graph():
|
||||||
|
g = Graph()
|
||||||
|
g.add_vertices(5)
|
||||||
|
g.add_edges([(0, 1), (1, 2), (2, 3), (3, 4)])
|
||||||
|
plot(g)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
generate_graph()
|
Loading…
Reference in New Issue
Block a user