.SH SYNOPSIS
.B gvedit
[
+.B \-sv?
+]
+[
.I file
]
.SH DESCRIPTION
.P
The name of a Graphviz file can be specified on the command line. This graph
file will be automatically opened on start-up.
+.SH OPTIONS
+The following options are supported:
+.TP
+.B \-s
+By default, the layout algorithms that use initial positions given by a node's pos attribute
+(currently, fdp and neato) assume the coordinates are in inches. Frequently, the input graph
+has these in points, especially if the graph is output by a Graphviz layout algorithm. This flag
+can be used to scale the coordinates from points to inches.
+.TP
+.B \-v
+Verbose mode.
+.TP
+.B \-?
+Prints usage information and exit.
.SH AUTHOR
Arif Bilgin <arif@research.att.com>
.br
QTextStream errout(stderr, QIODevice::WriteOnly);
static char *useString = "Usage: gvedit [-v?] <files>\n\
- -v - verbose\n\
- -? - print usage\n";
+ -s - Scale input by 72\n\
+ -v - verbose\n\
+ -? - print usage\n";
static void usage(int v)
{
int c;
cmd = argv[0];
- while ((c = getopt(argc, argv, ":v?")) != -1) {
+ while ((c = getopt(argc, argv, ":sv?")) != -1) {
switch (c) {
+ case 's':
+ PSinputscale = POINTS_PER_INCH;
+ break;
case 'v':
Verbose = 1;
break;