Next: Layout Interface for Graph
Up: Layout Interfaces
Previous: Interface to PostScript (
  Contents
  Index
Layout Buffers ( LayoutBuffer )
Baseclasses
Definition
A layout buffer for graph G is a layout interface that stores the
following graphical attributes for graph G:
- the position of each node.
- the bend points of each edge.
- the source and target anchor of each edge.
The class LayoutBuffer overrides the pure virtual methods of
LayoutInterface for setting and getting these attributes. The
methods set_width(), get_width(), set_height(), and get_height() must
be overridden by derived classes. Layout buffers are mainly used as
base class for GraphCopyLI and AGDLayout.
#include < AGD/LayoutBuffer.h >
Initialization
LayoutBuffer |
A(const leda_graph& G) |
initializes a layout buffer for graph G.
|
LayoutBuffer |
A(const LayoutBuffer& lb) |
copy constructor.
|
Operations
LayoutBuffer inherits the operations from its base class LayoutInterface
(see Sect. Layout Interfaces)
Next: Layout Interface for Graph
Up: Layout Interfaces
Previous: Interface to PostScript (
  Contents
  Index
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13