LinuxCommandLibrary

pw-dot

Create `.dot` files of the PipeWire graph.

TLDR

Generate a graph to pw.dot file

$ pw-dot
copy


Read objects from pw-dump JSON file
$ pw-dot [-j|--json] [path/to/file.json]
copy


Specify an [o]utput file, showing all object types
$ pw-dot --output [path/to/file.dot] [-a|--all]
copy


Print .dot graph to stdout, showing all object properties
$ pw-dot --output - [-d|--detail]
copy


Generate a graph from a [r]emote instance, showing only linked objects
$ pw-dot --remote [remote_name] [-s|--smart]
copy


Lay the graph from left to right, instead of dot's default top to bottom
$ pw-dot [-L|--lr]
copy


Lay the graph using 90-degree angles in edges
$ pw-dot [-9|--90]
copy


Display help
$ pw-dot --help
copy

Copied to clipboard