INGOR
LayoutFilter

LayoutFilter applies a layout algorithm to the network. This adds two node properties "x" and "y" that represent a position of a node.

In addition, a tab seperated text file can also be output optionally by specifying the output file name. The file consists of a header line and nodes in separate lines with two columns representing their positions of x and y.

Arguments

method=str
Specifies a layout method (algorithm) to apply. See below for the available methods and their arguments.

Algorithms (methods)

Circle Layout

method=circle (default)

Places nodes on a circle. The position of the circle center is (0,0).

r=x
Radius of the circle. (default: 100)

Up Down Layout

method=updown

Places upstream nodes and downstream nodes seperately with respect to the distances from the target node.

Currently, this places downstream nodes first, then upstream nodes. Therefore, if a node is both downstream and upstream of the target, it is placed as downstream nodes.

target=str
Name of the target (center) nodes.
file=file
Output file name.
vspace=x
Vertical interval between two neighor nodes. (default: x = 50)
hspace=x
Horizontal interval between two neighor nodes. (default: x = 50)

Filters | INGOR Manual