Home
  • Manual
  • Node Index
  • API
  • Changelog
Search Results for

    Show / Hide Table of Contents
    • InsaneScatterbrain
      • AStarPathfinder
      • Calc
      • Color32EqualityComparer
      • EqualityComparer
      • RandomPathWalker
      • TrigMath
    • InsaneScatterbrain.DataStructures
      • Pair<T>
    • InsaneScatterbrain.DelaunatorSharp
      • DelaunatorNoAlloc
    • InsaneScatterbrain.Dependencies
      • DependencyContainer
      • DependencyNotFoundException
      • IDependencyContainer
    • InsaneScatterbrain.Editor.Services
      • Assets
    • InsaneScatterbrain.Editor.Updates
      • UpdateAction
      • Updater
    • InsaneScatterbrain.Extensions
      • ColorExtensions
      • ExceptionExtensions
      • FieldInfoExtensions
      • HashSetExtensions
      • IntExtensions
      • ListExtensions
      • RandomExtensions
      • SortedListExtensions
      • StackExtensions
      • Texture2DDrawingExtensions
      • Texture2DExtensions
      • TypeExtensions
      • Vector2Extensions
      • Vector2IntExtensions
      • Vector3Extensions
      • Vector3IntExtensions
    • InsaneScatterbrain.MapGraph
      • AStarPathsNode
      • AddFloatToVector2Node
      • AddFloatToVector3Node
      • AddFloatsNode
      • AddIntToVector2IntNode
      • AddIntToVector3IntNode
      • AddIntsNode
      • AddRandomEdgesNode
      • AddVector2IntsNode
      • AddVector2sNode
      • AddVector3IntsNode
      • AddVector3sNode
      • ApplyMaskNode
      • Area
      • AreaExtractor
      • AreaGraph
      • AreaGraphBuilder
      • AreaGraphEdge
      • AreaGraphEdgePool
      • AreaGraphPool
      • AreaPool
      • AreasCentroidPointsNode
      • AreasSpecialBorderPointsNode
      • AreasToPointsNode
      • BasicMathOperationNode<T>
      • BasicMathOperationNode<T1, T2, TOut>
      • BspLeafCenterPointsNode
      • BspNode
      • BspNodePool
      • BspTree
      • BspTreePool
      • CellularAutomataSmoothingNewNode
      • CellularAutomataSmoothingNode
      • ChangeTextureSizeNode
      • ClampFloatsNode
      • ClampIntsNode
      • CollectionPool<TCollection, TValue>
      • ConnectAreaGraphCentroidsNode
      • ConnectAreaGraphClosestBorderPointsNode
      • ConnectAreaGraphRandomPointsNode
      • ConnectedPointsToPointsNode
      • ConvertTextureToTilemapNode
      • CopyTilemapDataNode
      • CornerPointsNode
      • CurrentOrEmptyTextureNode
      • DataToTextureNode
      • DictionaryPool<TDictionary, TKey, TValue>
      • DivideFloatsNode
      • DivideIntsNode
      • DivideVector2ByFloatNode
      • DivideVector2IntByIntNode
      • DivideVector2IntsNode
      • DivideVector2sNode
      • DivideVector3ByFloatNode
      • DivideVector3IntByIntNode
      • DivideVector3IntsNode
      • DivideVector3sNode
      • DomainWarpFractalType
      • DomainWarpType
      • DrawAreasNode
      • DrawBorderNode
      • DrawCirclesNode
      • DrawConnectionsBiasedRandomWalkNode
      • DrawGridNode
      • DrawManhattanConnectionsNode
      • DrawNoiseThresholdNode
      • DrawOutlineNode
      • DrawPathsNode
      • DrawPointsNode
      • DrawRectsNode
      • DrawShortestPathNode
      • EmptyTextureNode
      • ExtractAreasNode
      • ExtractColorNode
      • ExtractPointsNode
      • ExtractPointsWithNeighboursNode
      • FastNoiseEnum
      • FlipTextureNode
      • FractalType
      • GameObjectsFromTextureFactory
      • GenerateAreaGraphNode
      • GenerateMstAreaGraphNode
      • GenerateRstAreaGraphNode
      • HexagonalGridOffsetType
      • IObjectTypeEntry<T>
      • IObjectTypeSet<TType, TObject>
      • IObjectType<TEntry, TObject>
      • InvertMaskNode
      • LinePathsNode
      • ListPool<TValue>
      • LoadTextureData
      • MapGraphGraph
      • MapGraphTilemapPrefab
      • Mask
      • MaskPool
      • MaxFloatsNode
      • MaxIntsNode
      • MergeAreasNode
      • MergeMasksNode
      • MergePathsNode
      • MergePointPairsNode
      • MergePointsNode
      • MergeTilemapsNode
      • MinFloatsNode
      • MinIntsNode
      • MultiplyFloatsNode
      • MultiplyIntsNode
      • MultiplyVector2ByFloatNode
      • MultiplyVector2IntByIntNode
      • MultiplyVector2IntsNode
      • MultiplyVector2sNode
      • MultiplyVector3ByFloatNode
      • MultiplyVector3IntByIntNode
      • MultiplyVector3IntsNode
      • MultiplyVector3sNode
      • NamedColor
      • NamedColorNode
      • NamedColorSet
      • NoiseNode
      • ObjectTypeEntry<T>
      • ObjectTypeSetScriptableObject<TType, TEntry, TObject>
      • ObjectTypeSet<TType, TEntry, TObject>
      • ObjectType<TEntry, TObject>
      • OpenObjectTypeSet<TType, TEntry, TObject>
      • Outliner
      • PerlinNoiseFillTextureNode
      • PointsToAreasNode
      • PoolInitializer
      • PowerNode
      • PrefabSet
      • PrefabType
      • PrefabTypeEntry
      • RandomBoolNode
      • RandomBspRoomsNode
      • RandomBspTreeNode
      • RandomColorNode
      • RandomExtensions
      • RandomFloatNode
      • RandomIntNode
      • RandomNode<T>
      • RandomNoiseNode
      • RandomPointsNode
      • RandomPointsPerAreaNode
      • RandomRectsNode
      • RandomRngStateNode
      • RandomVector2IntNode
      • RandomVector2Node
      • RandomVector3IntNode
      • RandomVector3Node
      • RandomWalkerNode
      • RandomWalkerPathsNode
      • RandomlyFillTextureNode
      • RandomlyStampTilemapsNode
      • RangeRandomNode<T>
      • RectCenterPointsNode
      • RectsToAreasNode
      • ReplaceColorNode
      • ReplaceGameObjectChildrenNode
      • ResizeTextureNode
      • RotateTextureNode
      • RotationalSymmetry
      • SaveData
      • SaveTextureData
      • ScaleTextureNode
      • ScaleTextureToNode
      • ScaleTextureVector2Node
      • ShiftTextureNode
      • SplitConnectionsManhattanNode
      • SquareRootNode
      • StackPool<T>
      • StampNode
      • SubtractFloatFromVector2Node
      • SubtractFloatFromVector3Node
      • SubtractFloatsNode
      • SubtractIntFromVector2IntNode
      • SubtractIntFromVector3IntNode
      • SubtractIntsNode
      • SubtractMaskNode
      • SubtractVector2IntsNode
      • SubtractVector2sNode
      • SubtractVector3IntsNode
      • SubtractVector3sNode
      • TextureData
      • TextureData.Color32ArrayFacade
      • TextureDataDrawingExtensions
      • TextureDataExtensions
      • TextureDataPool
      • TextureSizeNode
      • TextureToChildGameObjectsNode
      • TextureToDataNode
      • TextureToGameObjectsNode
      • TextureToMaskNode
      • TextureToNoiseDataNode
      • TextureToTilemapNode
      • TileType
      • TileTypeEntry
      • TilemapData
      • TilemapDataPool
      • TilemapSet
      • TilemapToDataNode
      • TilemapToTextureNode
      • TilemapType
      • TilemapTypeEntry
      • Tileset
      • TransparentColorNode
      • Vector2IntComparer
      • Vector2IntFromFloats
      • Vector2IntFromInts
      • Vector2IntToInts
      • Vector2IntToVector2
      • Vector3IntComparer
      • WaveformFunctionCollapseNode
    • InsaneScatterbrain.MapGraph.Editor
      • AStarPathsNodeView
      • AboutWindow
      • AddRandomEdgesNodeView
      • ApplyMaskNodeView
      • AreaSpecialPointsNodeView
      • CellularAutomataSmoothingNodeNewView
      • CellularAutomataSmoothingNodeView
      • CellularDistanceFunctionConstantNodeView
      • CellularReturnTypeConstantNodeView
      • ChangeTextureSizeNodeView
      • ConnectionsNodeView
      • CornerPointsNodeView
      • DataSetListBase<T>
      • DataSetList<T>
      • DomainWarpFractalTypeNodeView
      • DomainWarpTypeConstantNodeView
      • DrawAreasNodeView
      • DrawBorderNodeView
      • DrawCirclesNodeView
      • DrawConnectionsBiasedRandomWalkNodeView
      • DrawGridNodeView
      • DrawManhattanConnectionsNodeView
      • DrawNoiseThresholdNodeView
      • DrawOutlineNodeView
      • DrawPathsNodeView
      • DrawPointsNodeView
      • DrawRectsNodeView
      • DrawShortestPathConnectionsNodeView
      • EmptyTextureNodeView
      • EnumConstantNodeView<T>
      • ExtractAreasNodeView
      • ExtractColorNodeView
      • ExtractPointsNodeView
      • ExtractPointsWithNeighboursNodeView
      • FlipTextureNodeView
      • FractalTypeNodeView
      • GenerateAreaGraphNodeView
      • GenerateMstAreaGraphNodeView
      • GenerateRstAreaGraphNodeView
      • Initializer
      • InputParametersList
      • InvertMaskNodeView
      • LinePathsNodeView
      • ListBase
      • MapGraphAsset
      • MapGraphAssetUpdater
      • MapGraphCreateMenu
      • MapGraphEditor
      • MapGraphEditorInfo
      • MapGraphEditorSettingsWindow
      • MapGraphEditorSettingsWindowInitializer
      • MapGraphInitializer
      • MapGraphUpdater
      • MergeAreasNodeView
      • NamedColorNodeView
      • NamedColorSetEditor
      • NamedColorSetList
      • NewUpdatesWindow
      • NoiseNodeView
      • NoiseTypeNodeView
      • ObjectTypeEntryList<TType, TEntry, TObject>
      • ObjectTypeSetList<TType, TEntry, TObject>
      • OutputParametersList
      • ParametersList
      • PerlinNoiseFillTextureNodeView
      • PrefabSetEditor
      • PrefabTypeEntryList
      • PrefabTypeList
      • ProcessGraphNodeView
      • RandomBspRoomsNodeView
      • RandomBspTreeNodeView
      • RandomPointsNodeView
      • RandomPointsPerAreaNodeView
      • RandomRectsNodeView
      • RandomWalkerNodeView
      • RandomWalkerPathsNodeView
      • RandomlyFillTextureNodeView
      • RandomlyStampTilemapsNodeView
      • ReplaceColorNodeView
      • ResizeTextureNodeView
      • RotateTextureNodeView
      • RotationType3dConstantNodeView
      • RotationalSymmetryNodeView
      • ScaleTextureNodeView
      • ScaleTextureToNodeView
      • ScaleTextureVector2NodeView
      • ScriptGraphAssetUpdater
      • ScriptNodeViewExtensions
      • ShiftTextureNodeView
      • StampNodeView
      • TextureConstantNodeView
      • TextureToMaskNodeView
      • TileTypeEntryList
      • TileTypeList
      • TilemapConstantNodeView
      • TilemapPrefabEditor
      • TilemapSetConstantNodeView
      • TilemapSetEditor
      • TilemapToTextureNodeView
      • TilemapTypeEntryList
      • TilemapTypeList
      • TilesetConstantNodeView
      • TilesetEditor
      • TransparentColorNodeView
      • UpdateAction_1_10
      • UpdateAction_1_14
      • UpdateAction_1_15
      • UpdateAction_1_2
      • UpdateAction_1_26_1
      • UpdateAction_1_30
      • UpdateChecker
      • WaveformFunctionCollapseNodeView
    • InsaneScatterbrain.Pooling
      • IPool
      • PoolManager
      • Pool<T>
    • InsaneScatterbrain.RandomNumberGeneration
      • Rng
      • RngState
    • InsaneScatterbrain.ScriptGraph
      • BoolParameterField
      • BoundsIntParameterField
      • BoundsParameterField
      • Color32ParameterField
      • ComponentDependency
      • ConstantNode
      • ConsumerNode
      • CopyData
      • CopyPaste
      • DataDependency
      • DataSetItem
      • DataSetScriptableObject<TItem>
      • DataSetScriptableObject<TItem, TOpenSet>
      • DataSet<T>
      • ExecutionGraph
      • ExecutionGraphBuilder
      • ExplicitInPortTypesAttribute
      • ExplicitOutPortTypesAttribute
      • ExplicitPortTypesAttribute
      • FloatParameterField
      • GroupNode
      • IConsumerNode
      • IDataSet
      • IDataSetItem
      • IDataSet<T>
      • IInstanceProvider
      • INode
      • IOpenDataSet<T>
      • IParameterField
      • IPool
      • IPoolInitializer
      • IPreparable
      • IPreviewBehaviour
      • IProcessorNode
      • IProviderNode
      • IScriptGraphInstanceProvider
      • IScriptNode
      • IdDeduplicator
      • InPort
      • InPortAttribute
      • IncompatiblePortTypeException
      • InputNode
      • IntParameterField
      • NewInstanceProvider
      • NewScriptGraphInstanceProvider
      • NodeEdge
      • ObjectParameterField
      • OpenDataSet<T>
      • OutPort
      • OutPortAttribute
      • OutputNode
      • PairVector2IntParameterField
      • PoolManager
      • PoolManagerInitializer
      • PoolManagerSingleton
      • Pool<T>
      • Pools
      • PortAttribute
      • PortNotFoundException
      • ProcessGraphNode
      • ProcessorNode
      • ProviderNode
      • RectIntParameterField
      • RectParameterField
      • ReferenceNode
      • ReferenceNodeConnection
      • RequiredPortNotConnectedException
      • RngExtensions
      • ScriptGraphComponents
      • ScriptGraphEditorInfo
      • ScriptGraphGraph
      • ScriptGraphInput
      • ScriptGraphInputBool
      • ScriptGraphInputBounds
      • ScriptGraphInputBoundsInt
      • ScriptGraphInputColor32
      • ScriptGraphInputFloat
      • ScriptGraphInputFloatAsInt
      • ScriptGraphInputInt
      • ScriptGraphInputObject
      • ScriptGraphInputRect
      • ScriptGraphInputRectInt
      • ScriptGraphInputString
      • ScriptGraphInputTexture2D
      • ScriptGraphInputTilemap
      • ScriptGraphInputTilemapSet
      • ScriptGraphInputTileset
      • ScriptGraphInputVector2
      • ScriptGraphInputVector2Int
      • ScriptGraphInputVector3
      • ScriptGraphInputVector3Int
      • ScriptGraphInput<T>
      • ScriptGraphMonoBehaviour
      • ScriptGraphParameter
      • ScriptGraphParameters
      • ScriptGraphPool
      • ScriptGraphPoolManager
      • ScriptGraphPoolManagerSingleton
      • ScriptGraphPort
      • ScriptGraphProcessor
      • ScriptGraphRunner
      • ScriptNode
      • ScriptNodeAttribute
      • SeedType
      • StringParameterField
      • Vector2IntParameterField
      • Vector2ParameterField
      • Vector3IntParameterField
      • Vector3ParameterField
    • InsaneScatterbrain.ScriptGraph.Editor
      • BoolConstantNodeView
      • BoolPortConstantFieldFactory
      • BoundsConstantNodeView
      • BoundsIntConstantNodeView
      • CellularDistanceFunctionPortConstantFieldFactory
      • CellularReturnTypePortConstantFieldFactory
      • ColorConstantNodeView
      • ColorPortConstantFieldFactory
      • ComponentDependencyListFactory
      • ConstantNodeView
      • ConstantNodeViewAttribute
      • DataDependencyListFactory
      • DomainWarpFractalTypePortConstantFieldFactory
      • DomainWarpTypePortConstantFieldFactory
      • FloatConstantNodeView
      • FloatPortConstantFieldFactory
      • FractalTypePortConstantFieldFactory
      • GroupNodeView
      • IPortConstantFieldFactory
      • InputNodeView
      • IntConstantNodeView
      • IntPortConstantFieldFactory
      • NodeDuplicator
      • NodeFactory
      • NoiseTypePortConstantFieldFactory
      • ObjectConstantNodeView
      • ObjectPortConstantFieldFactory
      • OutPortEdgeConnectListener
      • OutputNodeView
      • OutputParameterResultFormatter
      • OutputParameterResultWindow
      • RandomBspRoomsPreviewBehaviour
      • RectConstantNodeView
      • RectIntConstantNodeView
      • RotationType3dPortConstantFieldFactory
      • RotationalSymmetryPortConstantFieldFactory
      • ScriptGraphContextMenu
      • ScriptGraphDebugger
      • ScriptGraphDependencyInstaller
      • ScriptGraphEditor
      • ScriptGraphInitializer
      • ScriptGraphInputEditor
      • ScriptGraphRunnerEditor
      • ScriptGraphSearchBar
      • ScriptGraphValidator
      • ScriptGraphView
      • ScriptGraphViewSelection
      • ScriptGraphViewWindow
      • ScriptNodeView
      • ScriptNodeViewAttribute
      • ScriptNodeViewFactory
      • ScriptNodeViewTypesRegistry
      • StringConstantNodeView
      • StringPortConstantFieldFactory
      • TexturePortConstantFieldFactory
      • TilemapPortConstantFieldFactory
      • TilemapSetPortConstantFieldFactory
      • TilesetPortConstantFieldFactory
      • Urls
      • Vector2ConstantNodeView
      • Vector2IntConstantNodeView
      • Vector2IntPortConstantFieldFactory
      • Vector2PortConstantFieldFactory
      • Vector3ConstantNodeView
      • Vector3IntConstantNodeView
      • Vector3IntPortConstantFieldFactory
      • Vector3PortConstantFieldFactory
    • InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
      • ConstantEntryRegistry
      • DefaultEntryRegistry
      • EntryData
      • EntryFactory
      • GraphEntryRegistry
      • IEntryRegistry
      • ISearchFilter
      • InputParametersEntryRegistry
      • NodeSearchWindow
      • NodeType
      • OutputParametersEntryRegistry
      • ParametersEntryRegistry
      • PortFilter
      • SearchTreeBuilder
    • InsaneScatterbrain.Serialization
      • ArraySerializer<T>
      • BoundsIntSerializer
      • BoundsSerializer
      • DataBag
      • DefaultArraySerializer
      • IDeserializer
      • ISerializer
      • RectIntSerializer
      • RectSerializer
      • Serializer
      • Vector2IntSerializer
      • Vector3IntSerializer
    • InsaneScatterbrain.Services
      • Disposer
      • Rng
      • Texture2DFactory
      • Types
    • InsaneScatterbrain.Threading
      • IMainThreadCommand
      • IMainThreadCommandHandler
      • IMainThreadCoroutineCommand
      • IMainThreadCoroutineCommandHandler
      • MainThread
      • MainThreadCommand
      • MainThreadCommandHandler
      • MainThreadCoroutine
      • MainThreadCoroutineCommand
      • MainThreadCoroutineCommandHandler
      • MainThreadUpdater
    • InsaneScatterbrain.Versioning
      • IVersioned
      • SerializedVersion
      • VersionedMonoBehaviour
      • VersionedScriptableObject

    Class ScriptGraphView

    The ScriptGraphView allows for the visual editing of a script graph.

    Inheritance
    object
    CallbackEventHandler
    Focusable
    VisualElement
    GraphView
    ScriptGraphView
    Implements
    IEventHandler
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    IResolvedStyle
    ISelection
    Inherited Members
    GraphView.ports
    GraphView.UpdateViewTransform(Vector3, Vector3)
    GraphView.AddLayer(int)
    GraphView.GetElementByGuid(string)
    GraphView.GetNodeByGuid(string)
    GraphView.GetPortByGuid(string)
    GraphView.GetEdgeByGuid(string)
    GraphView.SetupZoom(float, float)
    GraphView.SetupZoom(float, float, float, float)
    GraphView.ValidateTransform()
    GraphView.AddToSelection(ISelectable)
    GraphView.RemoveFromSelection(ISelectable)
    GraphView.ClearSelection()
    GraphView.ExecuteDefaultActionAtTarget(EventBase)
    GraphView.ExecuteDefaultAction(EventBase)
    GraphView.CollectCopyableGraphElements(IEnumerable<GraphElement>, HashSet<GraphElement>)
    GraphView.CopySelectionCallback()
    GraphView.CutSelectionCallback()
    GraphView.PasteCallback()
    GraphView.DuplicateSelectionCallback()
    GraphView.DeleteSelectionCallback(GraphView.AskUser)
    GraphView.SerializeGraphElements(IEnumerable<GraphElement>)
    GraphView.CanPasteSerializedData(string)
    GraphView.UnserializeAndPasteOperation(string, string)
    GraphView.DeleteSelectionOperation(string, GraphView.AskUser)
    GraphView.AddElement(GraphElement)
    GraphView.RemoveElement(GraphElement)
    GraphView.DeleteSelection()
    GraphView.DeleteElements(IEnumerable<GraphElement>)
    GraphView.FrameAll()
    GraphView.FrameSelection()
    GraphView.FrameOrigin()
    GraphView.FramePrev()
    GraphView.FrameNext()
    GraphView.FramePrev(Func<GraphElement, bool>)
    GraphView.FrameNext(Func<GraphElement, bool>)
    GraphView.CalculateRectToFitAll(VisualElement)
    GraphView.CalculateFrameTransform(Rect, Rect, int, out Vector3, out Vector3)
    GraphView.GetBlackboard()
    GraphView.ReleaseBlackboard(Blackboard)
    GraphView.nodeCreationRequest
    GraphView.graphViewChanged
    GraphView.groupTitleChanged
    GraphView.elementsAddedToGroup
    GraphView.elementsRemovedFromGroup
    GraphView.elementsInsertedToStackNode
    GraphView.elementsRemovedFromStackNode
    GraphView.elementResized
    GraphView.viewTransformChanged
    GraphView.supportsWindowedBlackboard
    GraphView.contentViewContainer
    GraphView.viewport
    GraphView.viewTransform
    GraphView.isReframable
    GraphView.contentContainer
    GraphView.graphElements
    GraphView.nodes
    GraphView.edges
    GraphView.minScale
    GraphView.maxScale
    GraphView.scaleStep
    GraphView.referenceScale
    GraphView.scale
    GraphView.zoomerMaxElementCountWithPixelCacheRegen
    GraphView.selection
    GraphView.canCopySelection
    GraphView.canCutSelection
    GraphView.canPaste
    GraphView.canDuplicateSelection
    GraphView.canDeleteSelection
    GraphView.serializeGraphElements
    GraphView.canPasteSerializedData
    GraphView.unserializeAndPaste
    GraphView.deleteSelection
    VisualElement.disabledUssClassName
    VisualElement.Focus()
    VisualElement.SendEvent(EventBase)
    VisualElement.SetEnabledFromHierarchy(bool)
    VisualElement.SetEnabled(bool)
    VisualElement.MarkDirtyRepaint()
    VisualElement.ContainsPoint(Vector2)
    VisualElement.Overlaps(Rect)
    VisualElement.DoMeasure(float, VisualElement.MeasureMode, float, VisualElement.MeasureMode)
    VisualElement.ToString()
    VisualElement.GetClasses()
    VisualElement.ClearClassList()
    VisualElement.AddToClassList(string)
    VisualElement.RemoveFromClassList(string)
    VisualElement.ToggleInClassList(string)
    VisualElement.EnableInClassList(string, bool)
    VisualElement.ClassListContains(string)
    VisualElement.FindAncestorUserData()
    VisualElement.Add(VisualElement)
    VisualElement.Insert(int, VisualElement)
    VisualElement.Remove(VisualElement)
    VisualElement.RemoveAt(int)
    VisualElement.Clear()
    VisualElement.ElementAt(int)
    VisualElement.IndexOf(VisualElement)
    VisualElement.Children()
    VisualElement.Sort(Comparison<VisualElement>)
    VisualElement.BringToFront()
    VisualElement.SendToBack()
    VisualElement.PlaceBehind(VisualElement)
    VisualElement.PlaceInFront(VisualElement)
    VisualElement.RemoveFromHierarchy()
    VisualElement.GetFirstOfType<T>()
    VisualElement.GetFirstAncestorOfType<T>()
    VisualElement.Contains(VisualElement)
    VisualElement.FindCommonAncestor(VisualElement)
    VisualElement.viewDataKey
    VisualElement.userData
    VisualElement.canGrabFocus
    VisualElement.focusController
    VisualElement.usageHints
    VisualElement.transform
    VisualElement.layout
    VisualElement.contentRect
    VisualElement.paddingRect
    VisualElement.worldBound
    VisualElement.localBound
    VisualElement.worldTransform
    VisualElement.pickingMode
    VisualElement.name
    VisualElement.enabledInHierarchy
    VisualElement.enabledSelf
    VisualElement.visible
    VisualElement.generateVisualContent
    VisualElement.experimental
    VisualElement.hierarchy
    VisualElement.cacheAsBitmap
    VisualElement.parent
    VisualElement.panel
    VisualElement.this[int]
    VisualElement.childCount
    VisualElement.schedule
    VisualElement.style
    VisualElement.customStyle
    VisualElement.resolvedStyle
    VisualElement.styleSheets
    VisualElement.tooltip
    Focusable.Blur()
    Focusable.focusable
    Focusable.tabIndex
    Focusable.delegatesFocus
    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)
    CallbackEventHandler.HandleEvent(EventBase)
    CallbackEventHandler.HasTrickleDownHandlers()
    CallbackEventHandler.HasBubbleUpHandlers()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: InsaneScatterbrain.ScriptGraph.Editor
    Syntax
    public class ScriptGraphView : GraphView, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISelection

    Constructors

    ScriptGraphView(string, bool)

    Creates a new graph view.

    Declaration
    public ScriptGraphView(string title, bool showDebugInfo)
    Parameters
    Type Name Description
    string title

    The title to display.

    bool showDebugInfo

    Whether or not to display the debug info on node views.

    Properties

    Graph

    Gets the graph that's currently being displayed/edited.

    Declaration
    public ScriptGraphGraph Graph { get; }
    Property Value
    Type Description
    ScriptGraphGraph

    IsClearing

    Declaration
    public bool IsClearing { get; }
    Property Value
    Type Description
    bool

    MaxZoom

    Declaration
    public static float MaxZoom { get; set; }
    Property Value
    Type Description
    float

    MinZoom

    Declaration
    public static float MinZoom { get; set; }
    Property Value
    Type Description
    float

    NodeViewTypesRegistry

    Gets the registry that contains all the node view types for each node type.

    Declaration
    protected ScriptNodeViewTypesRegistry NodeViewTypesRegistry { get; }
    Property Value
    Type Description
    ScriptNodeViewTypesRegistry

    ReferenceNodeTypes

    Declaration
    public HashSet<Type> ReferenceNodeTypes { get; }
    Property Value
    Type Description
    HashSet<Type>

    Selection

    Declaration
    public ScriptGraphViewSelection Selection { get; }
    Property Value
    Type Description
    ScriptGraphViewSelection

    ShowDebugInfo

    Gets/sets whether to show debug info on the node views.

    Declaration
    public bool ShowDebugInfo { get; set; }
    Property Value
    Type Description
    bool

    ZoomStep

    Declaration
    public static float ZoomStep { get; set; }
    Property Value
    Type Description
    float

    Methods

    AddNewGroupNode(GroupNode, Vector2)

    Declaration
    public void AddNewGroupNode(GroupNode newGroupNode, Vector2 position)
    Parameters
    Type Name Description
    GroupNode newGroupNode
    Vector2 position

    AddNewNode(IScriptNode, Vector2, bool)

    Adds the given node to the graph and graph view at the given position.

    Declaration
    public void AddNewNode(IScriptNode newNode, Vector2 position, bool autoAddToGroup = true)
    Parameters
    Type Name Description
    IScriptNode newNode

    The node to add.

    Vector2 position

    The position in the graph view.

    bool autoAddToGroup

    If set to true, nodes will be automatically added to any group node they are on top of.

    AddNewReferenceNode(ReferenceNode, Vector2)

    Adds a reference node to the graph.

    Declaration
    public void AddNewReferenceNode(ReferenceNode referenceNode, Vector2 position)
    Parameters
    Type Name Description
    ReferenceNode referenceNode

    The reference node to add.

    Vector2 position

    The position where the reference node should be placed in the graph.

    BuildContextualMenu(ContextualMenuPopulateEvent)

    Add menu items to the contextual menu.

    Declaration
    public override void BuildContextualMenu(ContextualMenuPopulateEvent e)
    Parameters
    Type Name Description
    ContextualMenuPopulateEvent e
    Overrides
    UnityEditor.Experimental.GraphView.GraphView.BuildContextualMenu(UnityEngine.UIElements.ContextualMenuPopulateEvent)

    ClearHighlights()

    Removes all the highlight colors from nodes.

    Declaration
    public void ClearHighlights()

    Connect(InPort, OutPort, ReferenceNode)

    Declaration
    public Edge Connect(InPort inPort, OutPort outPort, ReferenceNode referenceNode = null)
    Parameters
    Type Name Description
    InPort inPort
    OutPort outPort
    ReferenceNode referenceNode
    Returns
    Type Description
    Edge

    CreateReferenceNodes(ScriptNodeView[])

    Declaration
    public void CreateReferenceNodes(ScriptNodeView[] referenceCandidateNodeViews)
    Parameters
    Type Name Description
    ScriptNodeView[] referenceCandidateNodeViews

    Dispose()

    Declaration
    public void Dispose()

    FrameNode(INode)

    Focus view on the node's view.

    Declaration
    public void FrameNode(INode node)
    Parameters
    Type Name Description
    INode node

    The node.

    FrameNodes(IEnumerable<INode>)

    Focus view on the nodes' view.

    Declaration
    public void FrameNodes(IEnumerable<INode> frameNodes)
    Parameters
    Type Name Description
    IEnumerable<INode> frameNodes

    The nodes.

    GetCompatiblePorts(Port, NodeAdapter)

    Declaration
    public override List<Port> GetCompatiblePorts(Port startPort, NodeAdapter nodeAdapter)
    Parameters
    Type Name Description
    Port startPort
    NodeAdapter nodeAdapter
    Returns
    Type Description
    List<Port>
    Overrides
    UnityEditor.Experimental.GraphView.GraphView.GetCompatiblePorts(UnityEditor.Experimental.GraphView.Port, UnityEditor.Experimental.GraphView.NodeAdapter)

    GetConstField(Port)

    Declaration
    public VisualElement GetConstField(Port edgeInput)
    Parameters
    Type Name Description
    Port edgeInput
    Returns
    Type Description
    VisualElement

    GetGroupView(GroupNode)

    Declaration
    public GroupNodeView GetGroupView(GroupNode groupNode)
    Parameters
    Type Name Description
    GroupNode groupNode
    Returns
    Type Description
    GroupNodeView

    GetReferenceNodeView(ReferenceNode)

    Declaration
    public ScriptNodeView GetReferenceNodeView(ReferenceNode referenceNode)
    Parameters
    Type Name Description
    ReferenceNode referenceNode
    Returns
    Type Description
    ScriptNodeView

    GetView(IScriptNode)

    Declaration
    public ScriptNodeView GetView(IScriptNode node)
    Parameters
    Type Name Description
    IScriptNode node
    Returns
    Type Description
    ScriptNodeView

    HighlightFailedNode(IScriptNode, bool)

    Colors the node's view red in the script graph view, to indicate that it failed.

    Declaration
    public void HighlightFailedNode(IScriptNode node, bool warning = false)
    Parameters
    Type Name Description
    IScriptNode node

    The node to mark.

    bool warning

    If true, it's just a warning, color orange instead of red.

    HighlightFailedNodes(IEnumerable<IScriptNode>, bool)

    Colors the node's view red in the script graph view, to indicate that it failed.

    Declaration
    public void HighlightFailedNodes(IEnumerable<IScriptNode> markNodes, bool warning = false)
    Parameters
    Type Name Description
    IEnumerable<IScriptNode> markNodes

    The nodes to mark.

    bool warning

    If true, it's just a warning, color orange instead of red.

    HighlightSearchedNode(INode)

    Declaration
    public void HighlightSearchedNode(INode node)
    Parameters
    Type Name Description
    INode node

    Initialize()

    Initializes the script graph view.

    Declaration
    public void Initialize()

    InitializePort(Port, VisualElement)

    Declaration
    public void InitializePort(Port port, VisualElement constFieldContainer = null)
    Parameters
    Type Name Description
    Port port
    VisualElement constFieldContainer

    Load(ScriptGraphGraph)

    Loads the given script graph into the graph view.

    Declaration
    public void Load(ScriptGraphGraph graphToLoad)
    Parameters
    Type Name Description
    ScriptGraphGraph graphToLoad

    The graph to load.

    Reload()

    Declaration
    public void Reload()

    RemoveFromGroup(GroupNode, IScriptNode)

    Declaration
    public void RemoveFromGroup(GroupNode groupNode, IScriptNode node)
    Parameters
    Type Name Description
    GroupNode groupNode
    IScriptNode node

    RemoveFromGroup(GroupNode, ReferenceNode)

    Declaration
    public void RemoveFromGroup(GroupNode groupNode, ReferenceNode referenceNode)
    Parameters
    Type Name Description
    GroupNode groupNode
    ReferenceNode referenceNode

    ToggleDisabled(IProcessorNode[])

    Declaration
    public void ToggleDisabled(IProcessorNode[] processorNodes)
    Parameters
    Type Name Description
    IProcessorNode[] processorNodes

    TriggerKeyDown(KeyCode, EventModifiers, Vector2)

    Declaration
    public void TriggerKeyDown(KeyCode keyCode, EventModifiers modifiers, Vector2 originalMousePosition)
    Parameters
    Type Name Description
    KeyCode keyCode
    EventModifiers modifiers
    Vector2 originalMousePosition

    Events

    OnInitialized

    Event triggers whenever the script graph view has been initialized.

    Declaration
    public event Action OnInitialized
    Event Type
    Type Description
    Action

    OnShowDebugInfoChanged

    Event triggers when the debug info has been updated.

    Declaration
    public event Action<bool> OnShowDebugInfoChanged
    Event Type
    Type Description
    Action<bool>

    Implements

    UnityEngine.UIElements.IEventHandler
    UnityEngine.UIElements.ITransform
    UnityEngine.UIElements.Experimental.ITransitionAnimations
    UnityEngine.UIElements.IExperimentalFeatures
    UnityEngine.UIElements.IVisualElementScheduler
    UnityEngine.UIElements.IResolvedStyle
    UnityEditor.Experimental.GraphView.ISelection
    In this article
    Back to top Generated by DocFX