00001
00008 #ifndef GRAPH_H_INCLUDED
00009 #define GRAPH_H_INCLUDED
00010
00011 #include "list.h"
00012
00013
00014 typedef struct s_graph graph;
00015
00020 extern graph* newGraph(const char* name);
00021
00025 extern void deleteGraph(graph* src);
00026
00031 extern void graphConnect(graph* src, const graph* dest);
00032
00037 extern void graphColorNode(graph* src, unsigned long color);
00038
00043 extern unsigned long graphGetColorNode(graph* src);
00044
00047 extern const char* graphGetNameNode(graph* src);
00048
00051 extern list* graphGetConnections(graph* src);
00052
00053 #endif