GraphWin File Format - Gobal Parameters
The global parameter section consists of seven lines (with an arbitrary
number of inter-mixed comment-lines).
- Version Line: The version line specifies the version of of
the gw-format. It consists of the string
GraphWin followed
by a floating-point number.
- Window Parameters:
scaling wxmin wymin wxmax wymax
This line consists of five floating-point numbers specifiying the scaling,
minimal/maximal x- and y-coordinates of the window (see window ).
- Node Label Font:
type size
This line defines the font used for node labels. The type
value is of type int . Possible values are
- 0 (
roman_font )
- 1 (
bold_font )
- 2 (
italic_font )
- 3 (
fixed_font ).
The size value is of type int and defines the size of
the font in points.
- Edge Label Font:
type size
as above, but defines the font used for edge labels.
- Node Index Format:
format
This line contains a printf -like format string used for
constructing the index label of nodes (e.g. %d ).
- Edge Index Format:
format
This line contains a printf -like format string used for
constructing the index label of edges (e.g. %d ).
- Multi-edge Distance:
dist
This line contains a floating-point parameter dist
that defines the distance used to draw parallel edges.
Example for Global Parameters:
# version GraphWin 1.40
# window parameters 1.0 -10.0 -5.0 499.0 517.0
# node font 0 12
# edge font 0 12
# node index string %d
# edge index string %d
# multi-edge distance 4.0
|
See also:
GraphWin
Native File Format for
Graphs
GML Parser for Graphs
Graphs and Related Data Types
Manual Entries:
Manual
Page GraphWin
|