Skip to main content

gns3util drawing create

Create a drawing

Synopsis

Create a drawing in a project with specified properties
gns3util drawing create [project-name/id] [flags]

Examples

gns3util -s https://controller:3080 drawing create my-project --x 100 --y 200 --svg '<svg>...</svg>'

Options

  -h, --help              help for create
      --locked            Lock the drawing
  -r, --rotation int      Rotation of the drawing
      --svg string        Raw SVG data
  -j, --use-json string   Provide a raw JSON string to send instead of flags
      --x int             X position
      --y int             Y position
      --z int             Z position (layer) (default 1)

Options inherited from parent commands

  -c, --cluster string    Cluster name from keyfile. Mutually exclusive with --server
  -i, --insecure          Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string   Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string     Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string     GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml

SEE ALSO

Auto generated by spf13/cobra on 24-Mar-2026