Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3d74c06

Browse files
committed
make nodes circles
1 parent 891a0d2 commit 3d74c06

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎git2dot.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ def _shortref(ref):
3333
repo = git.Repo()
3434
seen = set()
3535

36-
graph = Digraph(name='git', format='svg', graph_attr=dict(
37-
rankdir=rankdir
38-
))
36+
graph = Digraph(name='git', format='svg',
37+
graph_attr=dict(rankdir=rankdir),
38+
node_attr=dict(shape='circle'),
39+
)
3940

4041
# subgraph for local branch heads
4142
heads = Digraph(node_attr=dict(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /