Skip to content

Commit

Permalink
Switch ancestry graph to spring layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
bicobus committed Feb 5, 2024
1 parent 72a6d05 commit 3845c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pycestorieseditor/ancestrygraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ def graph_event(panel, ceevent: Ceevent):
G = Graph(
edges,
nodes=range(len(nodes)),
node_layout="radial",
node_layout="spring",
node_labels=labels,
node_label_offset=0.1,
node_label_offset=0.05,
node_label_fontdict={'size': 10},
node_color=colors,
arrows=True,
Expand Down

0 comments on commit 3845c75

Please sign in to comment.