02.10.2012 Views

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.16 Animations<br />

aiSee employs two different animation concepts. First, some internal layout calculations can be<br />

animated under the control of some options. Second, the entire aiSee tool can be used as an<br />

animation handler which animates a sequence of graph specifications. (Note that this has nothing<br />

to do with the -multi option.)<br />

5.16.1 Animation of layout phases (aka smooth transitions)<br />

If a new layout is calculated for a graph and if animation of layout phases is turned on, the nodes<br />

move smoothly from their initial positions in the layout to the newly calculated ones, enabling the<br />

user to keep visual track of layout changes. The <strong>GDL</strong> graph attribute amax: specifies<br />

the maximum number of animation steps. This number can be changed interactively in the View<br />

dialog box. Specifying 0 means animation is turned off.<br />

5.16.2 Animating graph specification sequences<br />

aiSee can be used as an animation handler to animate a sequence of graph specifications. A program<br />

can continuously output <strong>GDL</strong> specifications to a file. When the program has produced one<br />

instance of output, it informs aiSee that the graph specification is available. Then aiSee displays<br />

the new instance of the graph. After visualization, aiSee indicates completion to the program generating<br />

the graph specifications, thus enabling the program to output the next graph specification.<br />

Consequently, the program and aiSee represent a client-server model. The program calls aiSee<br />

with the option -a (see p. 133). After relayout aiSee sleeps seconds, then it<br />

attempts a callback to the parent process.<br />

aiSee has to have been started with the option -ddemsg option. Then the program and aiSee<br />

communicate with one another via a DDE channel as a server and client.<br />

For further information about using aiSee as an animation handler, please contact<br />

aiSee@AbsInt.com.<br />

114

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!