Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::graph::GraphExport Class Referencefinal

Utility class for exporting DSP graphs. More...

#include <src/dsp/graph_export.h>

Static Public Member Functions

static utils::Utf8String export_to_dot (const Graph &graph, bool include_class_names=false)
 Export a DSP graph to DOT format.

Detailed Description

Utility class for exporting DSP graphs.

Provides methods to generate DOT graph descriptions from DSP graphs for visualization and debugging purposes.

Definition at line 18 of file graph_export.h.

Member Function Documentation

◆ export_to_dot()

utils::Utf8String zrythm::dsp::graph::GraphExport::export_to_dot ( const Graph & graph,
bool include_class_names = false )
static

Export a DSP graph to DOT format.

Parameters
graphGraph to export
include_class_namesWhether to include class names in node labels
Returns
DOT representation of the graph as UTF-8 string

The generated DOT graph includes:

  • Node names
  • Class names (when requested)
  • Connections between nodes

Example usage of the output:

dot -Tpng graph.dot -o graph.png

The documentation for this class was generated from the following file: