TGD(1)
π TGD(1) β Tool for Generic Diagrams π
okay bestie, welcome to the General Commands Manual page for tgd, and no cap, this one's a whole vibe. It's the Tool for Generic Diagrams and it's about to be your new obsession. Let's get into it π«Ά
β¨ NAME β¨
tgd β Tool for Generic Diagrams π
πΈ SYNOPSIS πΈ
tgd [options] [diagram]
π¦ DESCRIPTION π¦
So like, tgd is an X11/Motif based graphical editor for drawing generic diagrams. It's giving main character energy in the diagram world, fr fr.
Diagrams can be loaded from and stored to a file. It can print diagrams to a PostScript printer, or save as PostScript to a file. Versatile much? π
And plot twist: tgd is part of The Toolkit for Conceptual Modeling (TCM). iykyk π
π ARGUMENTS π
You can call tgd with a single diagram name as argument. Here's the tea on what happens:
- If this argument is an existing file then
tgdtries to load a diagram from it. Easy peasy. - If it does not exist, a new diagram is created with the argument as diagram name. Slay, instant creation.
tgdfiles should have suffix*.gd. Don't fight the convention bestie, just use it π
Without a diagram argument, tgd creates a new empty generic diagram with the name untitled.gd. It's giving blank canvas, endless potential π
In addition to the standard X11 toolkit options (see X11(7)) tgd accepts the options listed below:
-drawingwidthxheight β Create a drawing area of width pixels wide and height pixels high. Custom canvas, obsessed β¨-helpβ Write all available options to standard output and quit. Your little cheat sheet moment π-maxdrawingwidthxheight β The drawing area can not be larger than width pixels wide and height pixels high. It's a boundary, respect it π-priv_cmapβ Start the editor with a private colormap. Fancy π-projdirdirectory β Set the project directory (current working directory) to directory.-toEPS[file.eps] β Generate EPS (to file.eps or stdout when no file name was given) and quit.-toFig[file.fig][-latex]β Generate Fig format (to file.fig or stdout when no file name was given) and quit. When the-latexoption is given, LaTeX fonts are generated, otherwise normal PostScript fonts are generated. The Fig format can be read byxfig(1)andfig2dev(1). Cross-tool collab, we love to see it π€-toPNGfile.png β Generate PNG format to file.png and quit.-toPS[file.ps] β Generate PostScript (to file.ps or stdout when no file name was given) and quit.-versionβ Write the TCM version to standard output and quit. Version check, iconic β
π ENVIRONMENT π
TCM_HOMEβ should be the directory where the TCM files are installed. The home base, literally πPATHβ should include$TCM_HOME/binMANPATHβ should include$TCM_HOME/manPRINTERβ name of the default printer that is used bytgd.LD_LIBRARY_PATHβ should include$TCM_HOME/libwhen the distribution contains shared object libraries in$TCM_HOME/lib.
π FILES π
The following relative files are relative to $TCM_HOME.
bin/tgdβ the generic diagram editor. That's her πbin/psfβ a program to filter PostScript output.lib/banner.psβ PostScript banner page that can be used when the printer does not print a banner page.lib/help/*β the help directory contains a collection of text files for the on-line help. Self-care through documentation π«Άlib/TCMβ X Resources (the same as the ones that are built-in). You can customize the fonts and colors by setting resources in your X defaults database. Each string of the formTCM.resource:definitionsets a resource./tmp/tcmXXXXXXβ pseudo random temporary file, for PostScript output.lib/tcm.confβ TCM editor configuration file. This file contains values for some of the editor defaults like the page size, the default fonts etc. This file is read by each editor upon startup.$HOME/.tcmrcβ each user of TCM can override some of the options oftcm.confby its own configuration file, installed in$HOME/.tcmrc. Personalize your era π
π§ SEE ALSO π§
Frank Dehne, Roel Wieringa and Henk van de Zandschulp -- TCM (Toolkit for Conceptual Modeling), User's Guide and Reference. This document is available as PostScript and HTML in $TCM_HOME/doc or as HTML via the URL http://www.cs.utwente.nl/~tcm/tcm-usersguide.html.
tcm(1), X11(7), xfig(1), fig2dev(1)
π AUTHOR π
Frank Dehne (frank@cs.vu.nl). Legend behavior π
π BUGS π
Please send bug reports to tcm@cs.utwente.nl. Don't suffer in silence bestie, tell them everything π
and that's the whole page, bestie! this one came from the General Commands Manual, dated 9 January 2000 β yes, she's an elder icon and she still eats π π bye pookie, go draw some diagrams π¦π
π¦ where this page comes from
- debian bookworm: tcm 2.20+TSQD-7+b1
- debian trixie: tcm 2.20+TSQD-8
- ubuntu jammy: tcm 2.20+TSQD-7
- ubuntu noble: tcm 2.20+TSQD-7build2
- ubuntu questing: tcm 2.20+TSQD-8
- ubuntu resolute: tcm 2.20+TSQD-9
- ubuntu stonking: tcm 2.20+TSQD-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms