ui: graph showing neighbours

The graph view can now display the n1 neighbours of the active node, including connections between neighbours.
This commit is contained in:
Manuel Dobusch
2014-07-09 16:32:15 +02:00
parent 2009b7526a
commit d12fd3edf3
14 changed files with 338 additions and 64 deletions
@@ -20,6 +20,11 @@ public:
virtual void ownerMoved();
virtual void targetMoved();
virtual void removeEdgeFromScene();
virtual std::weak_ptr<GraphNode> getOwner();
virtual std::weak_ptr<GraphNode> getTarget();
private:
std::weak_ptr<GraphNode> m_owner;
std::weak_ptr<GraphNode> m_target;