Class SystemGraphView
SystemGraphView, the graphview framework tailored for SystemGraph assets. Implements the GraphView
Implements
Inherited Members
GraphView.GetPortCenterOverride(Port, out Vector2)
GraphView.ExecuteDefaultActionAtTarget(EventBase)
GraphView.ExecuteDefaultAction(EventBase)
GraphView.CopySelectionCallback()
GraphView.CutSelectionCallback()
GraphView.PasteCallback()
GraphView.DuplicateSelectionCallback()
GraphView.DeleteSelectionCallback(GraphView.AskUser)
GraphView.contentContainer
GraphView.canCopySelection
GraphView.canCutSelection
GraphView.canPaste
GraphView.canDuplicateSelection
GraphView.canDeleteSelection
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class SystemGraphView : GraphView, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISelection
Constructors
Name | Description |
---|---|
SystemGraphView(GraphEditorView) | Initializes a new instance of the SystemGraphView class. |
SystemGraphView(GraphEditorView, GraphEditorObject) | Initializes a new instance of the SystemGraphView class. |
Fields
Name | Description |
---|---|
ContextNode | The context node |
EditorView | The editor view |
mousePosition | The mouse position |
Properties
Name | Description |
---|---|
LogicGraphEditorObject | Gets the logic graph editor object. |
commentCreationRequest | Gets or sets the comment creation request. |
createNodeScriptRequest | Gets or sets the create node script request. |
editNodeScriptRequest | Gets or sets the edit node script request. |
groupCreationRequest | Gets or sets the group creation request. |
removeFromGroupRequest | Gets or sets the remove from group request. |
Methods
Name | Description |
---|---|
BuildContextualMenu(ContextualMenuPopulateEvent) | Add menu items to the contextual menu. |
GetCompatiblePorts(Port, NodeAdapter) | Gets the compatible ports. |