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 tgd tries 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.
  • tgd files 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:

  • -drawing widthxheight β€” 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 πŸ“
  • -maxdrawing widthxheight β€” 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 πŸ’œ
  • -projdir directory β€” 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 -latex option is given, LaTeX fonts are generated, otherwise normal PostScript fonts are generated. The Fig format can be read by xfig(1) and fig2dev(1). Cross-tool collab, we love to see it 🀝
  • -toPNG file.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/bin
  • MANPATH β€” should include $TCM_HOME/man
  • PRINTER β€” name of the default printer that is used by tgd.
  • LD_LIBRARY_PATH β€” should include $TCM_HOME/lib when 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 form TCM.resource:definition sets 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 of tcm.conf by 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 πŸ¦‹πŸ’–