# &dhtitle;

&dhucpackage;

&dhsection;

&dhpackage;

creates a set of uml diagrams. &dhpackage; ensures consistency of relationships and uml element names between different diagrams. &dhpackage; exports diagrams in various vector and pixel-based image formats.

          &dhpackage;

            -u database_file

          &dhpackage;

              -t
              -r

            database_file

          &dhpackage;

              -h
              -v

          &dhpackage;

            -e database_file
            export_format
            export_directory

          &dhpackage;

            -i database_file
            import_mode
            json_input_file

## DESCRIPTION

## OPTIONS

Without options, the program starts in graphical mode. See crystal-facet-uml_documentation.pdf for graphical mode usage.

`-u `database_file``

- Starts in graphical mode and opens the database_file immediately.

  If the file does not exist, a new, empty database is created. If database_file ends on .cfu1, a binary database file is created. Otherwise, a json data file is created.

`-t `database_file``

- Tests the consistency of a database_file. In case of an error, a non-zero value is returned.

`-r `database_file``

- Tests the consistency of a database_file and repairs found issues.

`-h`

- Show summary of options.

`-v`

- Show version

`-e `database_file` `export_format` `export_directory``

- Exports all diagrams of a database_file in export_format to the export_directory. Valid formats are: docbook, html, json, pdf, png, ps, svg, txt, xmi. Please be aware that the export overwrites possibly existing files in the export_directory without notice.

`-i `database_file` `import_mode` `json_input_file``

- Imports elements from json_input_file to the database_file. Valid modes are: check, add. Please create a backup of your database_file before importing.

## EXAMPLE

## DIAGNOSTICS

The following diagnostics may be issued on `syslog`:

EVT : ...

- An event occurred (DEBUG mode only).

ANOM: ...

- Something unexpected happened that was handled (DEBUG mode only).

WARN: ...

- Something unexpected happened that may cause a failure.

ERR : ...

- Something unexpected happened that has caused a failure.

`journalctl -f` allows one to read the syslog.

## BUGS

The upstreams BTS can be found at .