Code

dumps the graph to cout in dot format
[inkscape.git] / src / conn-avoid-ref.h
index ac9295cf917450307ab3a3c23834d15ce04b6757..a30dc4b9366794bb3da87d2343e6f1319be7f209 100644 (file)
@@ -30,6 +30,14 @@ public:
 
     void setAvoid(char const *value);
     void handleSettingChange(void);
+    
+    // Returns a list of SPItems of all connectors/shapes attached to
+    // this object.  Pass one of the following for 'type':
+    //     Avoid::ConnRef::runningTo
+    //     Avoid::ConnRef::runningFrom
+    //     Avoid::ConnRef::runningToAndFrom
+    GSList *getAttachedShapes(const unsigned int type);
+    GSList *getAttachedConnectors(const unsigned int type);
 
 private:
     SPItem *item;