This commit is contained in:
Torma Kristóf 2020-09-18 13:22:14 +02:00
parent 53f2d0708b
commit c9b309c1be
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
4 changed files with 14 additions and 0 deletions

BIN
abrak/bullgraph.pdf Normal file

Binary file not shown.

BIN
abrak/igraph_ow8m6ld.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
abrak/igraphr1i7p56p.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View 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()