summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/rank.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/graph/rank.h')
-rw-r--r--src/gtkext/graph/rank.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gtkext/graph/rank.h b/src/gtkext/graph/rank.h
index e28b1f0..6536378 100644
--- a/src/gtkext/graph/rank.h
+++ b/src/gtkext/graph/rank.h
@@ -61,6 +61,12 @@ typedef void (* graph_rank_cb) (GGraphCluster *);
/* Parcours l'ensemble des blocs du rang avec un visiteur. */
void visit_graph_rank(const graph_rank_t *grank, graph_rank_cb);
+/* Visiteur pour blocs */
+typedef bool (* graph_rank_acc_cb) (GGraphCluster *);
+
+/* Parcours l'ensemble des blocs du rang avec un visiteur. */
+bool visit_and_accumulate_graph_rank(const graph_rank_t *, graph_rank_acc_cb);
+
/* Assigne à un ensemble de blocs un emplacement initial. */
void reset_graph_rank_allocation(const graph_rank_t *);
@@ -94,12 +100,6 @@ void _place_graph_rank_clusters(GGraphCluster **, size_t, gint, int);
/* Organise la disposition d'un ensemble de blocs basiques. */
void dispatch_x_graph_rank(const graph_rank_t *);
-/* Réorganise au besoin les liens entrants un ensemble de blocs. */
-bool get_graph_rank_exit_direction(graph_rank_t *, const GGraphCluster *, LeavingLinkDir *);
-
-/* Calcule les ordonnées extrèmes atteintes via liens sortants. */
-bool compute_graph_rank_min_max_bottom(const graph_rank_t *, gint [2]);
-
/* Réorganise au besoin les blocs selon les liens d'origine. */
void reorder_graph_rank_clusters(graph_rank_t *, const GGraphCluster *);