summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/nodes/flow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/graph/nodes/flow.h')
-rw-r--r--src/gtkext/graph/nodes/flow.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gtkext/graph/nodes/flow.h b/src/gtkext/graph/nodes/flow.h
index f659a77..76d0a03 100644
--- a/src/gtkext/graph/nodes/flow.h
+++ b/src/gtkext/graph/nodes/flow.h
@@ -65,6 +65,9 @@ GFlowBlock *g_flow_node_get_block(const GFlowNode *);
/* Précise si le noeud a pour première instruction celle donnée. */
bool g_flow_node_start_with(const GFlowNode *, GArchInstruction *);
+/* Précise si le noeud a pour dernière instruction celle donnée. */
+bool g_flow_node_end_with(const GFlowNode *, GArchInstruction *);
+
/* Précise la hauteur minimale requise pour un noeud. */
void g_flow_node_register_rank(const GFlowNode *, GGraphRanks *);
@@ -82,6 +85,12 @@ void g_flow_node_place(const GFlowNode *, GtkGraphView *);
/* ------------------------ GESTION DES ACCROCHES D'UN NOEUD ------------------------ */
+/* Compare deux accroches pour liens entre noeuds. */
+int g_flow_node_compare_slots_for_edges(const GFlowNode *, const node_slot_t *, gint, const node_slot_t *, gint);
+
+/* Réorganise au mieux les points d'accroche d'un noeud. */
+void g_flow_node_reorder_slots(const GFlowNode *, GGraphNode *);
+
/* Localise un point d'accroche à un noeud graphique. */
GdkPoint g_flow_node_get_point_from_slot(const GFlowNode *, bool, const node_slot_t *);