From 5d1a13b3f51a5f4f6c28d6877f0cbde43e71d954 Mon Sep 17 00:00:00 2001 From: alegrand Date: Tue, 28 Mar 2006 10:31:31 +0000 Subject: [PATCH] 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 --- src/xbt/graph_private.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.20.1