Russell Greene
f656deb976
Merge branch 'master' into multinode
2017-01-20 18:58:33 -07:00
David Bachrati
a62f088b2b
Renamable input and output ports on nodes ( #45 )
...
* Add option to set custom captions for node ports
* Calculator example modified to consistently use custom ports labels where it makes sense
* Minor fixes in modified code
2017-01-12 23:10:03 +01:00
Russell Greene
46749e928c
Add connectionPolicy for how many connections can be at a port to
...
NodeDataModel
2017-01-08 19:26:55 -07:00
Russell Greene
7b0021e0b3
Revert "Allow multiple input connections"
...
This reverts commit 459e0539e3 .
2017-01-08 19:20:15 -07:00
Russell Greene
459e0539e3
Allow multiple input connections
...
It was allowed before, but canConnect disallowed it.
Maybe there should be a setting in the graph for connection policy
because I know you don't want multiple input connections (doesn't really
make sense for what you're trying to do...)
2017-01-08 19:12:54 -07:00
Russell Greene
870520fceb
Make Nodes uniques owned by FlowScene instead of using shared_ptr ( #38 )
...
Nodes were stored in shared_ptr objects, which doesn't make sense
because FlowScene shoule be the only owner of Nodes.
2017-01-08 19:42:16 +01:00
Dmitry Pinaev
f2875edfbe
Fix node rendering with very long captions
2016-12-22 13:17:40 +01:00
Dmitry Pinaev
6c730a2ef6
Implement hash-based connection color
2016-12-11 17:35:22 +01:00
Dmitry Pinaev
97a5629c9d
Use references instead of pointers
2016-11-28 21:23:31 +01:00
Russell Greene
150ceb8034
Don't use const std::unique_ptr<...>& everywhere, use raw pointer
...
instead
2016-11-28 09:15:11 +01:00
Dmitry Pinaev
318ce62ba7
Implement JSON-based styles for Nodes, Connections, and Scene
2016-11-27 20:07:18 +01:00
Dmitry Pinaev
6674c22f1b
Allow multiple out connections
2016-11-25 02:15:27 +01:00
Dmitry Pinaev
bf0585c4d2
Merge branch 'master' of github.com:paceholder/nodeeditor
2016-11-07 22:14:46 +01:00
Dmitry Pinaev
de37205d0f
Fix #21 . Make connections selectable and removable
2016-11-07 22:12:44 +01:00
Jean-Michaël Celerier
25dffe3c07
fixes for building with GCC 6 under Linux
2016-10-06 12:06:10 +02:00
Dmitry Pinaev
bc56b9af91
Implement save/restore mechanism
2016-09-25 19:34:16 +02:00
Dmitry Pinaev
d8bf0c354c
Shrink incompatible node ports on connection hover
2016-09-25 15:39:03 +02:00
Miguel Ferreira
0d264db2f5
Implement node selecting and deleting
2016-09-22 10:00:53 +02:00
Dmitry Pinaev
e6d264438d
Fix #20 Make nodes resizable
2016-09-20 10:05:45 +02:00
Dmitry Pinaev
04cebe13f3
Fix 1 on Github. Adjust code to VisualStudio build
2016-09-14 23:35:31 +02:00
Dmitry Pinaev
f2bc372869
Simplify color scheme
2016-08-25 15:38:01 +02:00
Dmitry Pinaev
18760caac2
Fix #16 . Show node names
2016-08-22 22:20:34 +02:00
Dmitry Pinaev
3126d6dd5d
Make data types accessible in models without touching data pointers
2016-08-14 21:26:02 +02:00
Dmitry Pinaev
f3d15d2569
Fix #10 . Use smart pointers for referencing Nodes and Connections
2016-05-29 22:39:19 +02:00
Dmitry Pinaev
0c8cf42813
#9 Correct type names
2016-04-20 23:18:10 +02:00