Open in CoCalc
G = graphs.CompleteGraph(2) G.show()
G.edges()
[(0, 1, None)]
G.adjacency_matrix()
[0 1] [1 0]
graphs.CompleteGraph(3).show()

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