From: alegrand Date: Tue, 28 Mar 2006 10:31:31 +0000 (+0000) Subject: extending the graph structure to handle last dtd modifications X-Git-Tag: v3.3~3354 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5d1a13b3f51a5f4f6c28d6877f0cbde43e71d954?ds=sidebyside extending the graph structure to handle last dtd modifications git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2004 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/graph_private.h b/src/xbt/graph_private.h index 6adc68a1c1..607416183c 100644 --- a/src/xbt/graph_private.h +++ b/src/xbt/graph_private.h @@ -16,6 +16,8 @@ typedef struct xbt_node { xbt_dynar_t out; xbt_dynar_t in; /* not used when the graph is directed */ + double position_x; /* positive value: negative means undefined */ + double position_y; /* positive value: negative means undefined */ void *data; /* user data */ void *xbtdata; /* private xbt data: should be reinitialized at the beginning of your algorithm if you need to use it */ @@ -30,7 +32,7 @@ typedef struct xbt_edge void *data; /* user data */ void *xbtdata; /* private xbt data: should be reinitialized at the beginning of your algorithm if you need to use it */ - double length; + double length; /* positive value: negative means undefined */ } s_xbt_edge_t; /* Graph structure */