1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-21 01:36:03 +08:00

143 Commits

Author SHA1 Message Date
Thor Brigsted
ff97cc4494 Switched Dict.ContainsKey out with Dict.TryGetValue for performance gain. 2018-09-09 18:25:41 +02:00
-rava
2f4ef6f5c3 Modify node culling to use node dimensions directly instead of (slowly) fetching NodeEditor first. 2018-08-30 05:05:43 +03:00
Thor Brigsted
a71cf4961d Small performance improvement. Nodes are now automatically marked dirty when changed. 2018-06-24 17:43:07 +02:00
Thor Brigsted
9c6fb74064 Fixed automatic caching and drawing noodles when intentionally hiding ports 2018-06-14 22:56:14 +02:00
Thor Brigsted
704730e59d Minor corrections
Instance ports now show value for tooltip
Edited comment
2018-06-10 21:17:17 +02:00
Thor Brigsted
3f405e318a Remove console spam 2018-05-23 10:58:36 +02:00
Thor Brigsted
f04629a120 Added experimental node culling for performance boost 2018-05-22 16:25:21 +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
75795c59b0 Added F2 to rename hotkey (return on mac) 2018-04-18 12:57:12 +02:00
Thor Brigsted
2582d5aaf3 Added option to disable autosave in preferences 2018-04-13 10:46:51 +02:00
Thor Brigsted
9f09452b43 Improved reroute point size, rendering, and enabled deletion of selected points 2018-04-12 09:27:50 +02:00
Thor Brigsted
bab898e489 Exposed virtual OnGUI() and 'position' for graph editors 2018-04-10 22:59:32 +02:00
Thor Brigsted
19e244212c Added NodeRename #11 2018-04-05 20:59:50 +02:00
Thor Brigsted
3e68635735 Finished Reroutes 2018-04-01 21:42:44 +02:00
Thor Brigsted
34e195e33d Visual representation in DrawConnections 2018-04-01 02:15:47 +02:00
Thor Brigsted
941189a4d6 Started work on Reroute nodes 2018-03-31 19:01:36 +02:00
Thor Brigsted
1fff90cbf2 Added 'Clear Connections' right-click option for NodePorts 2018-03-28 00:55:53 +02:00
Thor Brigsted
219c93557d Tooltip now shows value from GetValue instead of field variable 2018-03-22 23:25:51 +01: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 Brigsted
ae2b8f1d38 Added noodle settings 2018-01-27 00:43:24 +01:00
Thor Brigsted
cf348d495b Fixed issue #15 2018-01-25 16:28:16 +01:00
Thor Brigsted
6758a1a7c4 Fixed box selection not working correctly when zoomed 2018-01-25 12:42:35 +01:00
Thor Brigsted
14c4d0b691 Added color settings for selection outlines 2018-01-25 10:43:03 +01:00
Thor Brigsted
d871b7bec4 Added node box selection 2018-01-24 12:23:12 +01:00
Thor Brigsted
5d113de554 Added multinode selection 2018-01-22 18:06:50 +01:00
Thor Kramer Brigsted
6e649dcc24 Automatically relink renamed Node scripts 2018-01-08 14:34:54 +01:00
Thor
66de07e1a7 More strongly typed namespaces to prevent import conflicts 2017-12-18 10:37:02 +01: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
869bd6a76d Reordered node context menu 2017-11-28 09:41:38 +01:00
Thor Kramer Brigsted
d1d2f9766c Added null check 2017-11-27 09:46:14 +01:00
Thor Kramer Brigsted
43df6ef75b Added GetSecondaryGridTexture 2017-11-27 09:41:47 +01:00
Thor Kramer Brigsted
e7f759497b NodeGraphEditor work continued 2017-11-27 09:29:07 +01:00
Thor Kramer Brigsted
710692a326 Added virtual NodeEdutor.GetTint() 2017-11-23 10:06:57 +01:00
Thor Kramer Brigsted
4ea25f6aee Initial NodeGraphEditor implementation 2017-11-22 14:54:06 +01:00
Thor Kramer Brigsted
dcff69979c Moved NodeEditorGUI.TypeToString to NodeEditorUtilities.PrettyName
Improved custom type color handling
Removed default color overrides
2017-11-21 13:21:34 +01:00
Thor Kramer Brigsted
5f161b80e7 Added grid snap and color settings. 2017-11-21 12:53:56 +01:00
Thor Kramer Brigsted
566a64b31f Added preferences shortcut to graph context menu 2017-11-20 15:45:30 +01:00
Thor Brigsted
8bfe09dfb7 Added Duplicate and Move To Top to node context menu 2017-11-20 00:54:04 +01:00
Thor Brigsted
69c2b254aa Added [ContextMenu] support 2017-11-20 00:11:17 +01:00
Thor Brigsted
dabd55cf49 Context menu limited to graph background and node headers 2017-11-19 22:38:05 +01:00
Thor Brigsted
fc16f69710 Nodes can now define a unique color per type using [NodeColor] 2017-11-14 01:07:26 +01:00
Thor Brigsted
42d13ad6a9 Added null check 2017-11-06 01:32:29 +01:00
Thor Brigsted
05f7b4ca82 Tooltip shows static output values 2017-11-06 00:36:25 +01:00
Thor Brigsted
c6a4735c71 Renamed to xNode
Added XNode and XNodeEDitor namespaces
Removed unnecessary usings
2017-11-05 23:42:31 +01:00
Thor Kramer Brigsted
432ce05bb5 Fixed dynamic node width.
Fixed field widths.
2017-11-03 10:11:07 +01:00
Thor Kramer Brigsted
90c3621795 Moved NodeEditor.[CustomNodeEditor].contextMenuName to Node.[CreateNodeMenu].menuName 2017-11-02 17:37:11 +01:00
Thor Kramer Brigsted
8eff75fa7f Bug fixes 2017-11-02 16:17:28 +01:00
Thor Kramer Brigsted
d3bb36fe0e Big update: Warning: Updating to this commit will break all node connections.
Internal NodePorts now uses dicts instead of lists. This is faster and more manageable.
Added instance ports.
Added Node.Ports, Node.Outputs, Node.Inputs, Node.InstanceOutputs, Node.InstanceInputs
Changed public GetInputByFieldName to GetInputValue and GetInputPort
2017-11-02 14:54:03 +01:00