Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mehatamm committed Nov 15, 2024
1 parent e2c0b53 commit 0eec7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzx/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def auto_layout_vertex_locs(g:BaseGraph[VT, ET]): #Force-based graph drawing alg
c2 = 1
c3 = 1
c4 = .1
v_loc:Dict[VT, Tuple[int, int]] = dict()
v_locs:Dict[VT, Tuple[int, int]] = dict()
for v in g.vertices():
v_locs[v]=(random.random()*math.sqrt(g.num_vertices()), random.random()*math.sqrt(g.num_vertices()))
for i in range(100): #100 iterations of force-based drawing
Expand Down

0 comments on commit 0eec7d4

Please sign in to comment.