Usage

Usage #

Basic usage of the command is as follows:

goseq [FLAGS] FILES...

Valid flags:

  • -o filename: Filename of the generated SVG image. If unspecified, the generated SVG image will be written to stdout.
  • -s style: The type of style to use for the generated SVG image (see below).

The non-flag arguments to goseq are the sequence diagrams to generate. Each file will be written to stdout, unless the -o flag was set or if the was a #!goseq preprocessing instruction in the diagram, in which case the generated SVG image will be written to the specified file.

Style #

The style of diagram can be specified using the -s flag. Valid styles are as follows:

  • default: The default style.
  • tight: Similar to the default style, but with reduced vertical padding between the elements.
  • small: Reduced text size and padding in both the horizontal and vertical.