diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-03-15 10:55:03 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-03-15 10:55:03 (GMT) |
commit | f65f83fd222d14934b527152899359327813128e (patch) | |
tree | 742e0f08a82ba941e386e5e3764a84b13e0c9ffe /src/gtkext/graph/rank.h | |
parent | 0a190905f31d7c395e1b26efe3abe443687429e5 (diff) |
Tracked vertical links beyond their cluster.
Diffstat (limited to 'src/gtkext/graph/rank.h')
-rw-r--r-- | src/gtkext/graph/rank.h | 12 |
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 *); |