---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# graphml2gv

> Convert a graph from `graphml` to `gv` format.
> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`.
> More information: <https://graphviz.org/pdf/graphml2gv.1.pdf>.

- Convert a graph from `gml` to `gv` format:

`graphml2gv -o {{output.gv}} {{input.gml}}`

- Convert a graph using `stdin` and `stdout`:

`cat {{input.gml}} | graphml2gv > {{output.gv}}`

- Display help:

`graphml2gv -?`
