2.5.16 layalign

Brief Information

Align graph layers to chosen layer

Command Line Usage

layalign igl:=1 destlayer:=2 direction:=bottom;

layalign igp:=graph2 source:=1 destlayer:=3;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Graph igp

Input

GraphPage

<active>

Specifies the graph to manipulate. By default, the active graph is used as input.

Input Graph igl

Input

GraphLayer

<active>

Specifies the source layer.

Destination Layer destlayer

Input

string

<active>

Specifies the destination layer.

Direction direction

Input

int

left

Specifies the alignment.
Option list

  • left:Left
    Aligns the left edges of the destination layers with the left edge of the source layer.
  • top:Top
    Aligns the top edges of the destination layers with the top edge of the source layer.
  • right:Right
    Aligns the right edges of the destination layers with the right edge of the source layer.
  • bottom:Bottom
    Aligns the bottom edges of the destination layers with the bottom edge of the source layer.


Description

This X-Function can be used to align two layers by their edges.

Related X-Functions

layarrange, laymanage, laysetpos