---
name: "TreeMap"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/TreeMap"
---

# TreeMap(3tulip)

TreeMap.h - An implementation of the tree map layout.

## NAME

TreeMap -

**TreeMap.h** - An implementation of the tree map layout.

## SYNOPSIS

`#include <TreeMap.h>`

### Public Member Functions

**TreeMap** (const tlp::PropertyContext &)\
 **~TreeMap** ()\
 bool **run** ()\
 bool **check** (std::string &)\

## Detailed Description

**TreeMap.h** - An implementation of the tree map layout.

This plugin is an implementation of the tree map layout algorithm first published as:

Shneiderman, B. (March 1991) \
\
  Tree visualization with treemaps: a 2-d space-filling approach \
\
  ACM Transactions on Graphics, vol. 11, 1 (Jan. 1992) 92-99. \
\
  HCIL-91-03, CS-TR-2645, CAR-TR-548

**HISTORY**

- •

  01/04/99 Verson 0.0.1: Initial release

**Note:**

This algorithm only works on trees. This version use the 'viewMetric' property to determine The size of elements. \
\
  Let n be the number of nodes, the algorithm complexity is in O(n).

**Author:**

David Auber University Bordeaux I France: Email:auber@tulip-software.org

**LICENCE**

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

## Constructor & Destructor Documentation

### TreeMap::TreeMap (const tlp::PropertyContext &)

### TreeMap::~TreeMap ()

## Member Function Documentation

### bool TreeMap::check (std::string &)

### bool TreeMap::run ()

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
