summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Canvas.hpp2
-rw-r--r--ganv/Edge.hpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index 08a1140..00c267c 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -99,6 +99,8 @@ public:
/** Delete the edge from @c tail to @c head. */
void remove_edge(Node* tail, Node* head);
+ void remove_edge(Edge* edge);
+
typedef void (*EdgePtrFunc)(GanvEdge* edge, void* data);
void for_each_edge(EdgePtrFunc f, void* data);
diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp
index 83c3a0b..aa8e7d1 100644
--- a/ganv/Edge.hpp
+++ b/ganv/Edge.hpp
@@ -77,6 +77,7 @@ public:
RW_PROPERTY(gboolean, selected)
RW_PROPERTY(gboolean, highlighted)
RW_PROPERTY(guint, color)
+ RW_PROPERTY(gdouble, handle_radius)
METHODRETWRAP0(ganv_edge, Node*, get_tail);
METHODRETWRAP0(ganv_edge, Node*, get_head);