umbrello API Documentation

_graph.h

00001 /*
00002  *  copyright (C) 2005
00003  *  Umbrello UML Modeller Authors <uml-devel @uml.sf.net>
00004  */
00005 
00006 /***************************************************************************
00007  *                                                                         *
00008  *   This program is free software; you can redistribute it and/or modify  *
00009  *   it under the terms of the GNU General Public License as published by  *
00010  *   the Free Software Foundation; either version 2 of the License, or     *
00011  *   (at your option) any later version.                                   *
00012  *                                                                         *
00013  ***************************************************************************/
00014 
00015 #ifndef AUTOLAYOUTGRAPH_H
00016 #define AUTOLAYOUTGRAPH_H
00017 #include "baseinclude.h"
00018 namespace Autolayout {
00019 
00023 class Graph{
00024 public:
00025     virtual ~Graph() {}
00026     virtual void addNode(const char *name, int width,int heigt)=0;
00027     virtual void addEdge(const char* nodea,const char*nodeb,int weight=100)=0;
00028     virtual Node* getNode(const char*)=0;
00029     virtual bool empty()=0;
00030 };
00031 
00032 }
00033 
00034 #endif
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:53 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003