---
name: "stag-drawtree"
section: "1p"
platform: "linux"
package: "libdata-stag-perl"
version: "0.14-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/stag-drawtree"
---

# stag-drawtree(1p)

draws a stag file (xml, itext, sxpr) as a PNG diagram

## NAME

stag-drawtree - draws a stag file (xml, itext, sxpr) as a PNG diagram

## SYNOPSIS

```
  stag-drawtree -o my.png myfile.xml
  stag-drawtree -p My::MyFormatParser -o my.png myfile.myfmt
```

## DESCRIPTION

requires GD library and GD perl module

## ARGUMENTS

- \-p\|parser FORMAT

  FORMAT is one of xml, sxpr or itext, or the name of a perl module

  xml assumed as default

## SEE ALSO

Data::Stag
