#ifndef _TOPO_DIGRAPH_H
#define _TOPO_DIGRAPH_H
#include <fm/topo_mod.h>
#include <topo_list.h>
#include <topo_prop.h>
#include <topo_method.h>
#include <topo_alloc.h>
#include <topo_error.h>
#include <topo_file.h>
#include <topo_module.h>
#include <topo_string.h>
#include <topo_subr.h>
#include <topo_tree.h>
#ifdef __cplusplus
extern "C" {
#endif
struct topo_digraph {
topo_list_t tdg_list;
const char *tdg_scheme;
topo_mod_t *tdg_mod;
tnode_t *tdg_rootnode;
topo_list_t tdg_vertices;
uint_t tdg_nvertices;
uint_t tdg_nedges;
};
struct topo_vertex {
topo_list_t tvt_list;
tnode_t *tvt_node;
topo_list_t tvt_incoming;
topo_list_t tvt_outgoing;
uint_t tvt_nincoming;
uint_t tvt_noutgoing;
};
struct topo_edge {
topo_list_t tve_list;
topo_vertex_t *tve_vertex;
};
#ifdef __cplusplus
}
#endif
#endif