pw-dot: update page (#12883)

pull/28/head
spageektti 2024-06-04 02:11:32 +02:00 committed by GitHub
parent 4f75ffc1db
commit 60fc599d6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 8 deletions

View File

@ -8,22 +8,30 @@
`pw-dot`
- Specify an output file, showing all object types:
- Read objects from `pw-dump` JSON file:
`pw-dot --output {{path/to/file.dot}} --all`
`pw-dot {{-j|--json}} {{path/to/file.json}}`
- Specify an [o]utput file, showing [a]ll object types:
`pw-dot --output {{path/to/file.dot}} {{-a|--all}}`
- Print `.dot` graph to `stdout`, showing all object properties:
`pw-dot --output - --detail`
`pw-dot --output - {{-d|--detail}}`
- Generate a graph from a remote instance, showing only linked objects:
- Generate a graph from a [r]emote instance, showing only linked objects:
`pw-dot --remote {{remote_name}} --smart`
`pw-dot --remote {{remote_name}} {{-s|--smart}}`
- Lay the graph from left to right, instead of dot's default top to bottom:
- Lay the graph from [l]eft to [r]ight, instead of dot's default top to bottom:
`pw-dot --lr`
`pw-dot {{-L|--lr}}`
- Lay the graph using 90-degree angles in edges:
`pw-dot --90`
`pw-dot {{-9|--90}}`
- Display help:
`pw-dot --help`