summaryrefslogtreecommitdiff
path: root/tikzit/edge.h
blob: 2153f309557a9a20e30827e6453ce1b04ea2c51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef EDGE_H
#define EDGE_H

#include <QObject>

class Node;

class Edge : public QObject
{
    Q_OBJECT
public:
    explicit Edge(Node *s, Node *t, QObject *parent = 0);

    Node *source() const;
    Node *target() const;

signals:

public slots:

private:
    Node *_source;
    Node *_target;
};

#endif // EDGE_H