jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/866793 )
Change subject: category_graph: update help
......................................................................
category_graph: update help
Change-Id: I405deea82438b8b1c0f401156d9156580b4cd6fa
---
M scripts/category_graph.py
1 file changed, 12 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/category_graph.py b/scripts/category_graph.py
index 33ec5f7..cd810a3 100755
--- a/scripts/category_graph.py
+++ b/scripts/category_graph.py
@@ -13,14 +13,15 @@
optional arguments:
-to TO base file name to save, "?" to ask.
- -style STYLE graphviz style definitions in dot format.
+ -style STYLE graphviz style definitions in dot format:
+
https://graphviz.org/doc/info/attrs.html
-depth DEPTH maximal hierarchy depth. 2 by default.
-downsize K font size divider for subcategories. 4 by default.
Use 1 for the same font size.
Examples:
-pwb.py -v graph category
+pwb.py -v category_graph -from
pwb.py category_graph -from Life -downsize 1.5 \
-style 'graph[rankdir=BT ranksep=0.5] node[shape=circle
style=filled fillcolor=green] edge[style=dashed penwidth=3]'
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/866793
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I405deea82438b8b1c0f401156d9156580b4cd6fa
Gerrit-Change-Number: 866793
Gerrit-PatchSet: 2
Gerrit-Owner: Costa Shul <constantine.shulyupin(a)gmail.com>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged