mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
graphs/depends: do not draw transitive dependencies by default
The transitive dependencies make the graphs barely readable for large configs, with a large number of packages. So, just switch to not drawing the transitive dependencies by default. By popular demand... ;-) [Peter: reword] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc; Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7e867725ac
commit
4cce4ac990
@ -207,7 +207,7 @@ The +graph-depends+ behaviour can be controlled by setting options in the
|
|||||||
default, +0+, means no limit.
|
default, +0+, means no limit.
|
||||||
|
|
||||||
* +--transitive+, +--no-transitive+, to draw (or not) the transitive
|
* +--transitive+, +--no-transitive+, to draw (or not) the transitive
|
||||||
dependencies. The default is to draw transitive dependencies.
|
dependencies. The default is to not draw transitive dependencies.
|
||||||
|
|
||||||
* +--colours R,T,H+, the comma-separated list of colours to draw the
|
* +--colours R,T,H+, the comma-separated list of colours to draw the
|
||||||
root package (+R+), the target packages (+T+) and the host packages
|
root package (+R+), the target packages (+T+) and the host packages
|
||||||
|
@ -48,7 +48,7 @@ parser.add_argument("--colours", "-c", metavar="COLOR_LIST", dest="colours",
|
|||||||
+ " packages, and the host packages, in this order." \
|
+ " packages, and the host packages, in this order." \
|
||||||
+ " Defaults to: 'lightblue,grey,gainsboro'")
|
+ " Defaults to: 'lightblue,grey,gainsboro'")
|
||||||
parser.add_argument("--transitive", dest="transitive", action='store_true',
|
parser.add_argument("--transitive", dest="transitive", action='store_true',
|
||||||
default=True)
|
default=False)
|
||||||
parser.add_argument("--no-transitive", dest="transitive", action='store_false',
|
parser.add_argument("--no-transitive", dest="transitive", action='store_false',
|
||||||
help="Draw (do not draw) transitive dependencies")
|
help="Draw (do not draw) transitive dependencies")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user