Browse Source

pw-dot: add page (#11904)

* pw-dot: add page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
Vitor Henrique 1 year ago
parent
commit
e9cc39fade
1 changed files with 29 additions and 0 deletions
  1. 29 0
      pages/linux/pw-dot.md

+ 29 - 0
pages/linux/pw-dot.md

@@ -0,0 +1,29 @@
+# pw-dot
+
+> Create `.dot` files of the PipeWire graph.
+> See also: `dot`, for rendering graph.
+> More information: <https://docs.pipewire.org/page_man_pw-dot_1.html>.
+
+- Generate a graph to `pw.dot` file:
+
+`pw-dot`
+
+- Specify an output file, showing all object types:
+
+`pw-dot --output {{path/to/file.dot}} --all`
+
+- Print `.dot` graph to `stdout`, showing all object properties:
+
+`pw-dot --output - --detail`
+
+- Generate a graph from a remote instance, showing only linked objects:
+
+`pw-dot --remote {{remote_name}} --smart`
+
+- Lay the graph from left to right, instead of dot's default top to bottom:
+
+`pw-dot --lr`
+
+- Lay the graph using 90-degree angles in edges:
+
+`pw-dot --90`