Tulip Plugins
Public Member Functions
MixedModel Class Reference

#include <MixedModel.h>

List of all members.

Public Member Functions

 MixedModel (const tlp::PropertyContext &context)
 ~MixedModel ()
bool run ()
bool check (std::string &)

Detailed Description

This plugin is an implementation of the planar polyline graph drawing algorithm, the mixed model algorithm, first published as:

C. Gutwenger and P. Mutzel,
"Planar Polyline Drawings with Good Angular Resolution",
"Lecture Notes In Computer Science, Vol. 1547"
"Proceedings of the 6th International Symposium on Graph Drawing,"
pages "167--182"
1998

Let n be the number of nodes, the original algorithm complexity is in O(n).
But the implementation of the canonical ordering has not been made in O(n).
This version of the algorithm considers each connected component of the graph, tests if it is planar or not. If not, it computes a planar subgraphs, which is a maximal planar "sub-map". Then an area aware version of Gutwenger and Mutzel 's algorithm is used, and if the connected component was not planar, it adds the "unplanar" edges in 3D. Finally, it uses the Connected Component Packing plugin of Tulip Software to pack the connected components.


Constructor & Destructor Documentation

MixedModel::MixedModel ( const tlp::PropertyContext &  context)
MixedModel::~MixedModel ( )

Member Function Documentation

bool MixedModel::check ( std::string &  err)
bool MixedModel::run ( )