nodeview: implemented workable solution to connecting contexts together to show all

Functional, now we just need to fine tune and optimize it.
This commit is contained in:
itsmattkc
2021-07-19 02:27:40 -07:00
parent a8abe5167c
commit 9c63393f50
2 changed files with 233 additions and 108 deletions
+6
View File
@@ -138,6 +138,8 @@ private:
void CreateNewEdge(NodeViewItem *output_item);
NodeViewItem *UpdateNodeItem(Node *node);
class NodeViewAttachNodesToCursor : public UndoCommand
{
public:
@@ -232,6 +234,8 @@ private:
bool create_edge_already_exists_;
QTimer reposition_contexts_timer_;
static const double kMinimumScale;
private slots:
@@ -288,6 +292,8 @@ private slots:
void MoveToScenePoint(const QPointF &pos);
void RepositionContexts();
};
}