diagram.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef AUTOLAYOUTABLEDIAGRAM_H
00016 #define AUTOLAYOUTABLEDIAGRAM_H
00017 #include <dotneato.h>
00018 #define internal_renderizer
00019 #include "autolayout.h"
00024 namespace Autolayout{
00025 class Diagram
00026 {
00027 private:
00028 Agraph_t* g;
00029 Agsym_t* a_width;
00030 Agsym_t* a_height;
00031 Agsym_t* a_label;
00032 #ifndef internal_renderizer
00033 GVC_t* gvc;
00034 #endif
00035 public:
00036 Diagram(int,int);
00037
00038 ~Diagram();
00039
00040 void addNode(const char *name, int width,int heigt);
00041 void addEdge(const char* nodea,const char*nodeb);
00042 void autolayout();
00043 void save();
00044 Node getNode(const char*);
00045
00046 };
00047
00048
00049 }
00050 #endif
This file is part of the documentation for umbrello Version 3.1.0.