diff options
Diffstat (limited to 'src/gtkext/graph/node.h')
-rw-r--r-- | src/gtkext/graph/node.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gtkext/graph/node.h b/src/gtkext/graph/node.h index 53232d9..fa2fa27 100644 --- a/src/gtkext/graph/node.h +++ b/src/gtkext/graph/node.h @@ -89,6 +89,9 @@ void g_graph_node_reset_position(GGraphNode *); /* Altère la position du noeud d'encapsulation. */ void g_graph_node_set_position(GGraphNode *, gint *, gint *); +/* Prépare la position du noeud pour l'alignement des liens. */ +void g_graph_node_set_pending_position(GGraphNode *, gint *, gint *); + /* Fournit la position du noeud d'encapsulation. */ void g_graph_node_get_position(const GGraphNode *, gint *, gint *); @@ -96,7 +99,7 @@ void g_graph_node_get_position(const GGraphNode *, gint *, gint *); ({ \ gint _x; \ g_graph_node_get_position(node, &_x, NULL); \ - _x != UNINITIALIZED_NODE_POS; \ + _x != UNINITIALIZED_NODE_POS/* || node->pending_x != 0*/; \ }) /* Espace constitué, entièrement ou non. */ @@ -108,6 +111,9 @@ bool g_graph_node_visit_nodes(GGraphNode *, graph_node_visitor_cb, void *); /* Recherche le noeud contenant un autre noeud. */ GGraphNode *g_graph_node_find_container(GGraphNode *, GGraphNode *); +/* Recherche le noeud contenant un autre noeud à un même niveau. */ +GGraphNode *g_graph_node_find_container_at_same_level(GGraphNode *, GGraphNode *, GGraphNode *); + /* Inscrit le noeud au rang donné. */ |