We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67c071 commit 8b67ef8Copy full SHA for 8b67ef8
git-dot
@@ -27,9 +27,11 @@ def git(*args):
27
@click.option('--remote/--no-remote', '-R', 'flag_remote')
28
@click.option('--tags/--no-tags', '-t', 'flag_tags')
29
@click.option('--rankdir', default='TB')
30
+@click.option('--shape')
31
def main(output, render, view, format, flag_remote, flag_tags,
32
rankdir, use_message, gather, shortref_len,
- exclude_remote, exclude_tag, exclude_branch):
33
+ exclude_remote, exclude_tag, exclude_branch,
34
+ shape):
35
36
def _shortref(ref):
37
return ref[:shortref_len]
@@ -39,9 +41,12 @@ def main(output, render, view, format, flag_remote, flag_tags,
39
41
40
42
seen = set()
43
44
+ if shape is None:
45
+ shape = 'box' if use_message else 'circle'
46
+
47
graph = Digraph(name='git', format='svg',
48
graph_attr=dict(rankdir=rankdir),
- node_attr=dict(shape='circle'),
49
+ node_attr=dict(shape=shape),
50
)
51
52
# subgraph for local branch heads
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments