GC(1)
π GC(1) β like, the manual page for smyrna, bestie π
okay so real talk: this page lives in the General Commands Manual section of your system, and honestly? it's a whole vibe. it's giving "interactive graph viewer" and we're gonna walk through every single bit of it together, no skips, no shortcuts. π¦
β¨ NAME β¨
smyrna β interactive graph viewer π
πΈ SYNOPSIS πΈ
smyrna [ -v? ] [ file ]
that's it. that's the whole entrance. short, sweet, main character energy.
π DESCRIPTION π
so smyrna is a viewer for graphs in the DOT format. and not just any viewer β it's especially designed to handle large graphs, which is lowkey the flex here. it lets you do both flat and topological fisheye views. π₯
here's the thing though: it assumes the input graph has position information associated with all nodes. like, it's not out here guessing where your nodes go. using the Graphviz convention, a node's position comes from its pos attribute, which is 2 or 3 floating point numbers separated by commas. nodes get drawn as points, edges get drawn as line segments. that's the whole look. β¨
if smyrna detects that the file contains xdot attributes, it will use that information when drawing nodes and edges. cute of it, honestly.
now the fun part β smyrna supports:
- panning and zooming π
- node and edge selection
- setting and retrieving node and edge attributes, especially colors π¨
- node movement
the Smyrna Settings dialogue box β which you'll find under the Edit pull-down menu β gives you so many choices for tailoring the graph view. and what's in there? let me list it:
- whether or not nodes/edges are drawn
- what labels are associated with nodes/edges
- node size
- transparency settings for nodes/edges
- parameters associated with the topological fisheye view
for the purposes of exploratory data analysis, smyrna provides access to the gvpr library. this lets you arbitrarily query, filter or manipulate a graph. and when you're filtering or manipulating, you get a choice: perform the changes directly on the input graph, or create a new version with the changes. your call, bestie. π
π OPTIONS π
the following options are supported:
-vβ verbose mode. it's giving chatty. π£οΈ-?β print usage information. when you're lost, ask. π
by default, gc returns the number of nodes and edges.
(yes, it says gc in the original, and yes, we are keeping it exactly like that. not our typo to fix. π)
π OPERANDS π
the following operand is supported:
fileβ name of file containing a graph in DOT format. and if you don't specify afileoperand? no worries, you can just use the File pull-down menu to select a file to be opened. π«Ά
β EXIT STATUS β
the following exit values are returned:
0β successful completion. slay. we ate. π1β if no No appropriate OpenGL-capable visual found, or if the default attributes template graph file or the default attributes widget graph file could not be read. π
π§ FILES π§
smyrna relies on numerous support files. these are usually installed in the "share/graphviz/smyrna" directory below the installation root. the principal files are:
template.dotβ a file in DOT format specifying the defaultsmyrnasettings. in particular, these are used to initialize the settings of the Smyrna Settings dialogue box.mouse_actions.txtβ a text file specifying the mapping of concrete mouse and keyboard events withsmyrnaactions such as panning and selecting. π±οΈattr_widgets.dotβ a file in DOT format specifying the bindings between GUI widgets andsmyrnaparameters.
π ENVIRONMENT VARIABLES π
SMYRNA_PATHβ allows a user to override the built-in path to the directory containing all ofsmyrna's files described above. so like, if you wanna keep your stuff somewhere else, go off. π
π«Ά AUTHOR π«Ά
- Arif Bilgin
<arif@research.att.com> - Emden R. Gansner
<erg@research.att.com>
legends, honestly. icons. π
π₯ SEE ALSO π₯
gvpr(1)libcgraph(3)"Smyrna Tutorial and Reference Manual"
and that's the whole page, bestie!! π this version of GC(1) comes to you from the General Commands Manual, dated 9 December 2009 β a vintage era, a classic, we stan. now go forth and view those graphs. π¦β¨π
π¦ where this page comes from
- fedora 43: graphviz-smyrna 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- opensuse-leap 16.0: graphviz-smyrna 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-smyrna 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-smyrna 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-smyrna 12.2.1-160000.1.1 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms