HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pw-dot — Create `.dot` files of the PipeWire graph. See also: `dot`. More information: <https://docs.pipewire

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thepipewirecreatecommandfilesclidotpw-dot
linux

Problem

How to use the pw-dot command: Create .dot files of the PipeWire graph. See also: dot. More information: <https://docs.pipewire.org/page_man_pw-dot_1.html>.

Solution

pw-dot — Create .dot files of the PipeWire graph. See also: dot. More information: <https://docs.pipewire.org/page_man_pw-dot_1.html>.

Generate a graph to pw.dot file:
pw-dot


Read objects from pw-dump JSON file:
pw-dot {{[-j|--json]}} {{path/to/file.json}}


Specify an output file, showing all object types:
pw-dot {{[-o|--output]}} {{path/to/file.dot}} {{[-a|--all]}}


Print .dot graph to stdout, showing all object properties:
pw-dot {{[-o|--output]}} - {{[-d|--detail]}}


Generate a graph from a remote instance, showing only linked objects:
pw-dot {{[-r|--remote]}} {{remote_name}} {{[-s|--smart]}}


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


Lay the graph using 90-degree angles in edges:
pw-dot {{[-9|--90]}}


Display help:
pw-dot {{[-h|--help]}}

Code Snippets

Generate a graph to `pw.dot` file

pw-dot

Read objects from `pw-dump` JSON file

pw-dot {{[-j|--json]}} {{path/to/file.json}}

Specify an output file, showing all object types

pw-dot {{[-o|--output]}} {{path/to/file.dot}} {{[-a|--all]}}

Print `.dot` graph to `stdout`, showing all object properties

pw-dot {{[-o|--output]}} - {{[-d|--detail]}}

Generate a graph from a remote instance, showing only linked objects

pw-dot {{[-r|--remote]}} {{remote_name}} {{[-s|--smart]}}

Context

tldr-pages: linux/pw-dot

Revisions (0)

No revisions yet.