summaryrefslogtreecommitdiff
path: root/src/data/edge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/edge.h')
-rw-r--r--src/data/edge.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/data/edge.h b/src/data/edge.h
index 954145f..ad21f36 100644
--- a/src/data/edge.h
+++ b/src/data/edge.h
@@ -27,6 +27,8 @@
#include "node.h"
#include "style.h"
+class Path;
+
#include <QObject>
#include <QPointF>
@@ -92,12 +94,15 @@ public:
void setStyleName(const QString & styleName);
Style *style() const;
+ Path *path() const;
+ void setPath(Path *path);
+
signals:
public slots:
private:
- QPointF bezierTangent(qreal start, qreal end) const;
+ QPointF bezierTangent(qreal start, qreal end) const;
QString _sourceAnchor;
QString _targetAnchor;
@@ -108,6 +113,7 @@ private:
// referenced
Node *_source;
Node *_target;
+ Path *_path;
Style *_style;