Emre Dogan
7ec429ba77
Changed node rendering. Header and Body (and optionally ports) sections are separate images. Allows more customizability.
...
Updated Node Editor Preferences window. Better separators. Added additional appearance options.
Removed Rounding in GridToWindowPositionNoClipped() (and DrawGrid()) which was originally meant to fix UI Sharpness. But it did not have impact in my case and without it made panning feel much smoother.
2023-10-08 07:05:11 +01:00
Emre Dogan
bfcef1ed34
Fixed broken namespaces.
2023-10-05 20:10:15 +01:00
Thor Brigsted
6b893fd5a4
Merge branch 'context_menu_filter'
2020-12-17 13:53:26 +01:00
Thor Brigsted
822b7ae156
Formatting
2020-12-17 13:50:11 +01:00
Simon Rodriguez
d4deeed45b
Added support in preferences for default node tint
2020-11-18 08:41:49 +01:00
juliocp
c316f5d80f
Merge remote-tracking branch 'upstream/master' into context_menu_filter
2020-10-12 11:05:00 -03:00
Thor Brigsted
cde52ff21a
Formatting
2020-10-12 09:40:40 +02:00
juliocp
b0f20cafa4
renamed dragToCreate to createFilter
...
- Renamed the preferences dragToCreateFilter to createFilter
- Removed dragToCreate as a condition to use createFilter
2020-10-07 21:08:31 -03:00
juliocp
37d82ad215
Added DragToCreate compatible filter
...
- Added preference to filter the nodes from the draggable context menu, to show only nodes that have ports compatible with the dragged port
- Minor modification in NodeEditorActions, to allow the filter
- Minor modification in NodeGraphEditor to use or not the filter, based in preferences
2020-10-07 19:31:07 -03:00
juliocp
7aefddfaae
Default background and grid Color
...
Changed the default background and grid colors of the graph in the preferences. This will maintain the new layout of nodes and ports uniform with the background. (More Clean)
2020-10-05 16:52:28 -03:00
juliocp
629474d042
Added Noodle Thickness at preferences
...
The default value for the thickness of the noodle can be modified from xNode preferences.
This value is only effective if the user does not make an override from the EditorGraph at GetNoodleThickness(...).
Many users do not like to edit from the script, this will help in the creation of my new layout template, similar to the new graphView from unity
2020-10-05 16:25:08 -03:00
Simon Rodriguez
b5fb59a84e
Added OpenOnCreate settings. ( #295 )
...
Adds the option to prevent opening the graph editor when creating a new graph.
Suggested in Issues #286
2020-08-26 21:51:45 +02:00
Simon Rodriguez
76cf825090
Suggestion! A new way of drawing lines very similar to Unitys upcoming Shader Node Editor.
2020-04-13 19:35:52 +02:00
DeepWolf413
aeaaf18099
Added a null check for NodeEditorWindow.current.
...
It returns a new instance of the Settings class if the NodeEditorWindow.current is null.
2019-10-23 12:01:20 +02:00
Thor Brigsted
421fb5747e
Added virtual NodeEditorGraph.GetNoodlePath and GetNoodleStroke for additional customization
2019-10-17 00:16:36 +02:00
Thor Brigsted
305af376c5
Added link to documentation in preferences
2019-09-06 19:26:01 +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
elrod
95884080b0
Resetting random generator state/seed after random color extraction. ( #160 )
2019-06-29 16:38:25 +02:00
Michael Wigley
8b0eb6bb60
#144 Added option to disable tooltips
2019-06-08 21:01:45 +02:00
Simon Rodriguez
c868c037ea
Fixed #99 - Color for types in preferences will reseted after playing
...
* SavePrefs was saving to the wrong key.
* A dictionary cant be changed while being enumerated.
Now clones the keys and gets/sets values.
2019-05-13 10:23:54 +02:00
Thor Brigsted
29a05cba28
Fixed #143 - Added minZoom to preferences
...
Also renamed zoomOutLimit to maxZoom
2019-05-10 09:05:48 +02:00
Mert Kırımgeri
2f4adadb72
Zoom out limit feature ( #122 )
...
Zoom out limit added
2019-03-20 10:42:47 +01:00
Thor Brigsted
973f9beb1d
Added support for new SettingsProvider system #109
2019-02-16 01:22:05 +01:00
Thor Brigsted
3450b5f208
Merge branch 'typeColors'
2018-12-27 02:50:02 +01:00
Thor Brigsted
8d445fa3f4
Fixed formatting
2018-12-27 02:47:15 +01:00
Thor Brigsted
3ced922ce6
Add zoomToMouse setting in preferences
2018-12-23 10:21:03 +01:00
Simon Rodriguez
842101720e
Changed so Dictionary now uses Type as key.
...
Uses PrettyName less.
Also changed to TryGetValue instead of ContainsKey in GetTypeColor()
2018-12-21 13:39:52 +01:00
Thor Brigsted
2582d5aaf3
Added option to disable autosave in preferences
2018-04-13 10:46:51 +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 Brigsted
ae2b8f1d38
Added noodle settings
2018-01-27 00:43:24 +01:00
Thor Brigsted
14c4d0b691
Added color settings for selection outlines
2018-01-25 10:43:03 +01:00
Thor Brigsted
9dc5653f27
Simplified editor preferences handling.
...
This update will reset your xnode editor preferences
2018-01-25 10:27:55 +01:00
Thor Brigsted
5ae1b16f14
Made type color preferences more intuitive
2018-01-25 00:49:17 +01:00
Thor Brigsted
5f900c0b14
Removed references to previous project name
2017-12-31 01:22:18 +01:00
Thor Brigsted
29dd6e0c62
Unity 5.3 compatibility patches.
2017-12-03 18:52:34 +01:00
Thor Kramer Brigsted
d15b55745d
Null check changes
2017-11-29 09:16:48 +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
81f5879e92
Started work on snap and grid color
2017-11-21 10:51:27 +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 Brigsted
64282028aa
Code FixFormat
...
None of the code was changed, just moved around.
2017-10-14 08:37:33 +02:00
Thor Brigsted
9abdf2995e
Added Node Editor entry in Preferences. Custom colors for value types can now be assigned
2017-10-14 08:33:46 +02:00