Marco Secchi
be0d452d12
Fix wrong override message. ( #204 )
2019-11-06 11:53:13 +01:00
Wang Cong
2d1a671b71
Undo support ( #199 )
...
Added undo support for move, create, duplicate and delete node, and connect port
2019-11-06 11:42:22 +01:00
Thor Brigsted
421fb5747e
Added virtual NodeEditorGraph.GetNoodlePath and GetNoodleStroke for additional customization
2019-10-17 00:16:36 +02:00
Thor Brigsted
08af93c2e3
Added NodeGraphEditor.GetNoodleThickness
2019-10-16 23:08:07 +02:00
Igor Vasiak
63b0bf428b
Added gradients to connection noodles ( #191 )
...
Upgrade notice: Override GetNoodleGradient instead of GetNoodleColor
2019-10-15 17:13:54 +02:00
Thor Brigsted
4b073648c9
Added noodle hover highlight
2019-09-25 10:48:36 +02:00
Thor Brigsted
979bd5f7cf
Added nodeGraphEditor.GetNoodleColor
...
Now you can override the color of noodles!
2019-09-23 23:25:23 +02:00
MowfaqAlarbi
5433e36837
Show Node Create list When Dragging To Nothing ( #183 )
...
And a user setting to disable it, of course
2019-09-06 19:13:00 +02:00
Thor Brigsted
788b8d8a0b
Automatically remove "Node" postfix from creation menu
2019-08-12 00:11:14 +02:00
Thor Brigsted
891ecebc3f
Put NodeEditorReflection into its own static class
2019-07-24 10:04:05 +02:00
Thor Brigsted
d0e1cd5d66
Fixed #144 - Added virtual GetPortTooltip in NodeGraphEditor
2019-06-29 16:56:50 +02:00
William Henry
9b239c3564
Added Drop event to Node Graph ( #157 )
...
Override NodeGraphEditor.OnDropObjects to deal with items dropped into the graph through DragAndDrop
2019-06-29 00:04:39 +02:00
Simon Rodriguez
5d45300935
Unified all functions that set the default node name ( #161 )
2019-06-23 11:54:14 +02:00
Simon Rodriguez
fefea30594
Added support for copy paste in menu and ctrl+c / ctrl+v / cmd+c / cmd+v.
2019-06-13 18:36:40 +02:00
Simon Rodriguez
833e26ccc3
Make RemoveNode + switch order
...
* made RemoveNode function virtual
used for example when a graph wants to block a delete
* switched order of remove function and destroy function.
target.RemoveNode was always getting a null value
2019-05-13 20:53:34 +02:00
Thor Brigsted
d68aea2a8a
Fixed #142 - New feature: Automatically remove "Node" postfix in names
2019-05-10 09:55:10 +02:00
Thor Brigsted
8adc4fd459
Fixed #128 , #127 , #64 - Added NodeEditorBase.OnCreate, OnGraphEditor.OnOpen, and NodeEditorBase.window
2019-04-06 13:27:44 +02:00
Thor Brigsted
f6e0e3bc4d
Added NodeGraphEditor.GetPortColor
2019-04-03 21:50:29 +02:00
Thor Brigsted
3972ac5abf
Allow naming nodes in Init
2019-01-21 22:25:05 +01:00
Thor Brigsted
5b11e81027
Move context menu functions around to allow more customization ( #87 )
...
Moved NodeEditorWindow.ShowNodeContextMenu to NodeEditor.AddContextMenuItems
Moved NodeEditorWindow.ShowGraphContextMenu to NodeGraphEditor.AddContextMenuItems
Moved NodeEditorWindow.CreateNode to NodeGraphEditor.CreateNode
2018-12-15 12:40:16 +01:00
Thor Brigsted
b9bd67bd28
Cleanup
...
Removed unused code, added/fixed comments
2018-10-30 09:38:44 +01:00
Thor Brigsted
c202829c9d
Bugfix and old code removal
...
Fixed NodeEditorGUILayout.PortField being inconsistent with Ports drawn by NodeEditorGUILayout.PropertyField
Removed obsolete NodeEditorGraph.GetNodePath
2018-06-21 23:21:32 +02:00
Thor Brigsted
61ca00ce31
Renamed GetNodePath to GetNodeMenuName (consistency)
...
Empty menuNames now skips, just like null does
2018-05-13 12:18:16 +02:00
Thor Brigsted
2582d5aaf3
Added option to disable autosave in preferences
2018-04-13 10:46:51 +02:00
Thor Brigsted
bab898e489
Exposed virtual OnGUI() and 'position' for graph editors
2018-04-10 22:59:32 +02:00
Thor Brigsted
ba8b9ef447
Removed unused dictionary
2018-04-10 22:57:25 +02:00
Thor Brigsted
1885d453a4
Removed #if UNITY_EDITOR from NodeGraph.cs #23
2018-04-05 21:53:03 +02:00
Thor Brigsted
19e244212c
Added NodeRename #11
2018-04-05 20:59:50 +02:00
Thor Brigsted
63b51aaa10
Added more preferences control
...
Preferences can now be saved with a custom key, and custom default settings can be specified.
Other changes:
XNodeInternal renamed to XNodeEditor.Internal
NodeEditorWindow.graphEditor exposed as public
2018-01-30 12:27:17 +01:00
Thor
66de07e1a7
More strongly typed namespaces to prevent import conflicts
2017-12-18 10:37:02 +01:00
neko1990
ec4429e969
compatibility patches, make xNode work on Unity 5.4.
2017-12-03 23:50:54 +08:00
Thor Brigsted
d7e133a822
Defined namespaces across all scripts prevent conflicts.
2017-12-02 09:56:41 +01:00
Thor Kramer Brigsted
aabd2e4145
Added NodeGraphEditor.GetTypeColor for custom node-graph specific type colors
2017-11-28 10:49:24 +01:00
Thor Kramer Brigsted
9e68617cb8
Added NodeGraphEditor.GetNodePath
...
You now have more control over which nodes get displayed in the context menu, and how they are displayed
2017-11-28 10:17:21 +01:00
Thor Kramer Brigsted
43df6ef75b
Added GetSecondaryGridTexture
2017-11-27 09:41:47 +01:00
Thor Kramer Brigsted
4ea25f6aee
Initial NodeGraphEditor implementation
2017-11-22 14:54:06 +01:00