com.unity.graphtools.foundation 0.11.0-preview

com.unity.graphtools.foundation

Notes: processedReleased June 15, 2021

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.3

Package Dependencies

Features

  • New extensible node inspector. See `ModelInspectorView`, `FieldsInspector`, `ModelPropertyField` and `ICustomPropertyField`.

API Changes

  • Removed dependencies on `com.unity.properties` and `com.unity.properties.ui` packages.
  • `TypeSearcherDatabase.FromItems`, use `new SearcherDatabase(items)` instead.

📈 Improvements

  • MathExpressionParser can parse mathematical expressions.
  • Math Book sample's MathOperator nodes now have variable input ports.
  • All asmdef in the package have their `autoReferenced` properties set to `false`.
  • `DeclarationModel.Rename` made virtual.
  • `TypeSerializer` renamed to `TypeHandleHelpers`.
  • Capabilities are no longer serialized in graph element models.
  • The searcher was changed and its code integrated to the GTF codebase.
  • `IStencil.GetSearcherRect` was replaced by `GraphToolStateExtensionsForSearcherSize.GetSearcherSize`.
  • `IStencil.SetSearcherSize` was replaced by `GraphToolStateExtensionsForSearcherSize.SetSearcherSize`.
  • `UpdateModelPropertyValueCommand` was replaced by `SetModelFieldCommand`.
  • `ChangeElementColorCommand` now derives from `ModelCommand`
  • Many uses of `GraphView` were replaced by uses of `IModelView`.
  • `DefaultFactoryExtensions` was renamed `GraphViewFactoryExtensions`.
  • Directory `Editor/GraphElements/Elements` was renamed to `Editor/GraphElements/ModelUI`.
  • `GraphView IModelUI.GraphView` changed to `IModelView View`.
  • `IModelUI.AddToGraphView` renamed to `AddToView`.
  • `IModelUI.RemoveFromGraphView` renamed to `RemoveFromView`.
  • `IPropertyVisitorNodeTarget` renamed to `IHasInspectorSurrogate`
  • `OpenedGraph.FileId` renamed to `OpenedGraph.AssetLocalId`.
  • `SearcherItemUtility.GetItemFromPath` is now an extension method in `SearcherItemCollectionExtensions`
  • `SearcherGraphView` made internal.
  • `TypeSearcherDatabase` renamed to `TypeSearcherExtensions`

🔧 Bug Fixes

  • Fixed node inspector and some elements' appearance in light skin.