com.unity.graphtools.foundation 0.4.0-preview.1

com.unity.graphtools.foundation

Notes: processedReleased September 15, 2020

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.1

Features

  • Added an automatic spacing feature

API Changes

  • `IGTFNodeModel` now has a `Tooltip` property.
  • `IGTFEdgeModel` `FromPort` and `ToPort` are settable.
  • Implementations of Unity event functions are now virtual.
  • `GraphModel` basic implementation now serializes edges, sticky notes and placemats as references to enable the use of derived classes for them.
  • `EditorDataModel.ElementModelToRename` was moved to `IGTFEditorDataModel`.
  • Added default value for `IGTFGraphModel.CreateNode` `spawnFlag` parameter.
  • Added support for `List<>` in `TypeSerializer`.

API Changes

  • PanToNodeAction. Call GraphView.PanToNode instead.
  • RefreshUIAction. Call Store.ForceRefreshUI instead.

🔧 Bug Fixes

  • Fix issue when moving two nodes connected by edge with control points.

📈 Improvements

  • Changed the automatic alignment feature to consider connected nodes
  • Extract basic model implementation from VisualScripting folder/namespace to GTFO.
  • Split IGTFNodeModel and IGTFPortModel into finer grained interfaces.
  • Add default implementation of some interfaces.
  • Replace IGraphModel by IGTFGraphModel
  • Replace IVariableDeclarationModel by IGTFVariableDeclarationModel
  • Remove unused BlackboardThisField and ThisNodeModel
  • Base Store class is now sealed. All derived store classes have been merged into the base class.