Anders and Briegel in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
229B

  1. from graph import GraphState
  2. import viz
  3. def test_viz():
  4. g = GraphState()
  5. g.add_edge(0, 1)
  6. g.add_edge(1, 2)
  7. g.add_edge(2, 0)
  8. g.add_edge(0, 3)
  9. g.add_edge(100, 200)
  10. # g.remove_vop(0, 1)
  11. viz.draw(g)