| Hosted by CoCalc | Download
Kernel: SageMath 8.2
G = graphs.CompleteGraph(2) G.show()
Image in a Jupyter notebook
G.edges()
[(0, 1, None)]
G.adjacency_matrix()
[0 1] [1 0]
graphs.CompleteGraph(3).show()
Image in a Jupyter notebook

Works fine in a Sage worksheet though using the D3 based plotting the Nathaan Cohen wrote.: