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

35 Commits

Author SHA1 Message Date
Thor Brigsted
dd62011cfb Avoid nullrefs on clearing graph 2022-11-22 10:41:13 +01:00
Thor Brigsted
d9d90f0f7b
Add [RequireNode] attribute to graphs (#254) 2020-04-24 15:57:50 +02:00
Thor Brigsted
65162d553e Marked NodeGraph.OnDestroy virtual 2019-05-05 10:28:47 +02:00
Thor Brigsted
eb164225c8 Fixed #134 - Marked some more methods as virtual 2019-04-15 00:02:52 +02:00
Thor Brigsted
a0eee5b9ca
Fix misconfigured node.graph reference during node instantiation and graph cloning (#85)
* Attempting to fix #81 in a cleaner way. Still not perfect

* Fixed setting to null during OnEnable

* Fixed spelling
2018-12-12 00:57:31 +01:00
Thor Brigsted
7a1726b342 Fixed commenting 2018-05-13 13:29:12 +02:00
Thor Brigsted
69ee12169d Destroy nodes on graph destruction #30 2018-04-14 22:49:16 +02:00
Thor Brigsted
588fc0d80a Fix potential error when copying a NodeGraph with null nodes 2018-04-07 18:47:28 +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
11a9db199a Added nodeGraph.Copy(); 2017-12-25 01:35:11 +01:00
Thor Kramer Brigsted
215a3475ea Small editor erformance gain. Removed PrettifyCamelCase.
Use ObjectNames.NicifyVariableName instead
2017-11-28 09:38:21 +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
c6a4735c71 Renamed to xNode
Added XNode and XNodeEDitor namespaces
Removed unnecessary usings
2017-11-05 23:42:31 +01:00
Thor Brigsted
9f518572f8 Removed old code 2017-10-15 16:11:37 +02: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
3dae0910dc Serialization now works correctly. Removal of nodes still broken 2017-10-13 00:08:33 +02:00
Thor Brigsted
8ce0d63903 NodeDataCache changed from ScriptableObject to static class.
Nodes still don't load properly, but we're getting there.
2017-10-12 00:18:40 +02:00
Thor
963eb84edb Possible solution found. NodeGraph now initializes NodeDataCache before creating any nodes. 2017-10-11 08:36:36 +02:00
Thor Brigsted
cd1864fce3 Better asset handling on add/remove node 2017-10-08 23:44:08 +02:00
Thor Brigsted
6a4c29410a Added VerifyConnections, Added GetPortByFieldName. 2017-10-08 02:00:33 +02:00
Thor Brigsted
698f02d716 Serialization now works. Node.cs is now a ScriptableObject. 2017-10-07 01:54:10 +02:00
Thor Brigsted
6a92f18618 Connections now draw under port handles
Modulized code. Too many minor changes to address
2017-09-30 22:27:01 +02:00
Thor Brigsted
f8a0bb8f7c Started work on NodeGraphExample 2017-09-27 23:41:01 +02:00
Thor Brigsted
2b0cf61435 Removed more JSON serialization
Also changed Rect "position" to Rect "rect"
2017-09-27 22:33:01 +02:00
Thor Brigsted
ae9943fae1 Removed JSON serialization.
Might re-add later. Removed because current implementation is hacky and i don't believe it is very future proof.
For now, you can create and save ScriptableObjects in the editor, and use them at runtime.
2017-09-27 00:01:09 +02:00
Thor Brigsted
f00b957e04 Removed NodeGraphAsset. Made NodeGraph into a ScriptableObject
Runtime serialization will have to wait.
2017-09-22 13:41:09 +02:00
Thor Brigsted
d237e1529b Fixed open empty NodeGraph 2017-09-22 12:15:37 +02:00
Thor Brigsted
3c206b03df Can now save NodeGraph as asset via NodeGraphAsset 2017-09-21 21:30:12 +02:00
Thor Brigsted
b7543df012 Serialized connections
Nodes now also have a reference to their NodeGraph
2017-09-21 10:54:49 +02:00
Thor Brigsted
1606c583f9 Basic serialization 2017-09-20 23:04:49 +02:00
Thor Brigsted
f9152bf891 Editor core complete
Removed NodeConnection.cs: Node ports now operate by crossreferencing eachother
Changed from separate static classes to partial class
Removed UNEC Namespace
Added live hover info
2017-09-20 17:22:23 +02:00
Unknown
36ecfde3fe Connections, Ports 2017-09-19 00:15:17 +02:00
Unknown
10a56513df Base node manipulation finished
Zoom
Node Add / Remove
Node Drag
2017-09-18 13:10:29 +02:00
Thor Brigsted
5f0a776350 Started work on node graphs 2017-09-15 15:56:17 +02:00