CoCalc Shared FilesPublic / graph_tool_example.sagewsOpen in CoCalc with one click!
Author: Hal Snyder
Views : 14
Description: graph_tool example

graph_tool example

links

p3 = jupyter("python3")
%default_mode p3
import graph_tool.all as gt g = gt.price_network(500) pos = gt.sfdp_layout(g) gt.graph_draw(g, pos=pos, output="graph-draw-sfdp.pdf");