diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-03-08 19:00:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-03-08 19:00:28 (GMT) |
commit | bf53af268d38ebb3224886e6d916e6148e78778b (patch) | |
tree | 081ad6b164ee984ef30aab81e23b01b5833341f3 /src/gtkext/graph/cluster-int.h | |
parent | 856dfb72dec63f566c5525df42a8b292987a14d6 (diff) |
Saved a first round to book extra space for straight edges if needed.
Diffstat (limited to 'src/gtkext/graph/cluster-int.h')
-rw-r--r-- | src/gtkext/graph/cluster-int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtkext/graph/cluster-int.h b/src/gtkext/graph/cluster-int.h index 3121d64..9da1af2 100644 --- a/src/gtkext/graph/cluster-int.h +++ b/src/gtkext/graph/cluster-int.h @@ -64,6 +64,12 @@ const leaving_link_t *g_graph_cluster_has_origin(const GGraphCluster *, const GG /* Compare deux clusters selon un de leurs liens d'origine. */ int g_graph_cluster_compare_by_origin(const GGraphCluster **, const GGraphCluster **, const GGraphCluster *); +/* Calcule les abscisses extrèmes atteintes horizontalement. */ +void g_graph_cluster_compute_min_max_horizontal(const GGraphCluster *, const GGraphCluster *, gint [2]); + +/* S'assure que les liens verticaux ne traversent pas de bloc. */ +void g_graph_cluster_ensure_space_for_straight(GGraphCluster *); + /* Réorganise au besoin les liens entrants d'un bloc. */ void g_graph_cluster_sort_incoming_links(GGraphCluster *); |