diff --git a/src/conn-avoid-ref.h b/src/conn-avoid-ref.h
index ac9295cf917450307ab3a3c23834d15ce04b6757..0ee6addc377726d49db952645aec5efcbabd2ea5 100644 (file)
--- a/src/conn-avoid-ref.h
+++ b/src/conn-avoid-ref.h
void setAvoid(char const *value);
void handleSettingChange(void);
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::runningTo
+ // Avoid::runningFrom
+ // Avoid::runningToAndFrom
+ GSList *getAttachedShapes(const unsigned int type);
+ GSList *getAttachedConnectors(const unsigned int type);
private:
SPItem *item;
private:
SPItem *item;
extern void avoid_item_move(NR::Matrix const *mp, SPItem *moved_item);
extern void init_avoided_shape_geometry(SPDesktop *desktop);
extern void avoid_item_move(NR::Matrix const *mp, SPItem *moved_item);
extern void init_avoided_shape_geometry(SPDesktop *desktop);
-static const double defaultConnSpacing = 10.0;
+static const double defaultConnSpacing = 3.0;
#endif /* !SEEN_CONN_AVOID_REF */
#endif /* !SEEN_CONN_AVOID_REF */