# StreamGraph::toGraphviz {#StreamGraph_toGraphviz}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`StreamGraph::toGraphviz()`

## Details {#details}

Output the topology of the streaming graph in Graphviz format.

## Examples {#examples}

``` {#codeblock_zq1_tms_c2c}
// g is the streaming graph
g.toGraphviz()
```

