Inherits AZ::Component, GraphRequestBus::Handler, StatusRequestBus::Handler, AZ::EntityBus::Handler, and ValidationRequestBus::Handler.
|
| AZ_COMPONENT (Graph, "{C3267D77-EEDC-490E-9E42-F1D1F473E184}") |
|
| Graph (const ScriptCanvasId &executionId=AZ::Entity::MakeId()) |
|
void | Init () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
const AZStd::vector< AZ::EntityId > | GetNodesConst () const |
|
AZStd::unordered_set< AZ::Entity * > & | GetNodeEntities () |
|
const AZStd::unordered_set< AZ::Entity * > & | GetNodeEntities () const |
|
const ScriptCanvas::ScriptCanvasId & | GetScriptCanvasId () const |
|
void | MarkVersion () |
|
const VersionData & | GetVersion () const |
|
bool | HasDeprecatedNode () const |
|
void | Parse (ValidationResults &validationResults) |
|
bool | AddNode (const AZ::EntityId &) override |
|
bool | RemoveNode (const AZ::EntityId &nodeId) override |
|
Node * | FindNode (AZ::EntityId nodeID) const override |
|
AZStd::vector< AZ::EntityId > | GetNodes () const override |
|
Slot * | FindSlot (const Endpoint &endpoint) const override |
|
bool | AddConnection (const AZ::EntityId &) override |
|
void | RemoveAllConnections () |
|
bool | RemoveConnection (const AZ::EntityId &connectionId) override |
|
AZStd::vector< AZ::EntityId > | GetConnections () const override |
|
AZStd::vector< Endpoint > | GetConnectedEndpoints (const Endpoint &firstEndpoint) const override |
|
AZStd::pair< EndpointMapConstIterator, EndpointMapConstIterator > | GetConnectedEndpointIterators (const Endpoint &endpoint) const override |
|
bool | IsEndpointConnected (const Endpoint &endpoint) const override |
|
bool | FindConnection (AZ::Entity *&connectionEntity, const Endpoint &firstEndpoint, const Endpoint &otherEndpoint) const override |
|
bool | FindConnection (const Endpoint &firstEndpoint, const Endpoint &otherEndpoint) const |
|
bool | Connect (const AZ::EntityId &sourceNodeId, const SlotId &sourceSlotId, const AZ::EntityId &targetNodeId, const SlotId &targetSlotId) override |
|
bool | Disconnect (const AZ::EntityId &sourceNodeId, const SlotId &sourceSlotId, const AZ::EntityId &targetNodeId, const SlotId &targetSlotId) override |
|
bool | ConnectByEndpoint (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint) override |
|
AZ::Outcome< void, AZStd::string > | CanCreateConnectionBetween (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint) const override |
|
AZ::Outcome< void, AZStd::string > | CanConnectionExistBetween (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint) const override |
|
bool | DisconnectByEndpoint (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint) override |
|
bool | DisconnectById (const AZ::EntityId &connectionId) override |
|
bool | AddDependentAsset (AZ::EntityId nodeId, const AZ::TypeId assetType, const AZ::Data::AssetId assetId) override |
|
bool | RemoveDependentAsset (AZ::EntityId nodeId) override |
|
AZ::Entity * | GetGraphEntity () const override |
|
Graph * | GetGraph () override |
|
GraphData * | GetGraphData () override |
|
const GraphData * | GetGraphDataConst () const override |
|
VariableData * | GetVariableData () override |
|
const VariableData * | GetVariableDataConst () const override |
|
bool | AddGraphData (const GraphData &) override |
|
void | RemoveGraphData (const GraphData &) override |
|
bool | IsBatchAddingGraphData () const override |
|
AZStd::unordered_set< AZ::Entity * > | CopyItems (const AZStd::unordered_set< AZ::Entity * > &entities) override |
|
void | AddItems (const AZStd::unordered_set< AZ::Entity * > &graphField) override |
|
void | RemoveItems (const AZStd::unordered_set< AZ::Entity * > &graphField) override |
|
void | RemoveItems (const AZStd::vector< AZ::Entity * > &graphField) |
|
AZStd::unordered_set< AZ::Entity * > | GetItems () const override |
|
bool | AddItem (AZ::Entity *itemRef) override |
|
bool | RemoveItem (AZ::Entity *itemRef) override |
|
void | ValidateGraph (ValidationResults &validationEvents) override |
|
void | ReportValidationResults (ValidationResults &) override |
|
AZStd::pair< ScriptCanvas::ScriptCanvasId, ValidationResults > | GetValidationResults () override |
|
virtual void | ReportError (const Node &node, const AZStd::string &errorSource, const AZStd::string &errorMessage) |
|
template<typename NodeType > |
AZStd::vector< const NodeType * > | GetNodesOfType () const |
|
void | MarkOwnership (ScriptCanvas::ScriptCanvasData &owner) |
|
ScriptCanvas::DataPtr | GetOwnership () const |
|
void | ClearScriptEventExtension () |
|
bool | IsScriptEventExtension () const |
|
void | MarkScriptEventExtension () |
|
|
void | PostActivate () |
|
void | ValidateVariables (ValidationResults &validationResults) |
|
void | ValidateScriptEvents (ValidationResults &validationResults) |
|
bool | ValidateConnectionEndpoints (const AZ::EntityId &connectionRef, const AZStd::unordered_set< AZ::EntityId > &nodeRefs) |
|
AZ::Outcome< void, AZStd::vector< ValidationStruct > > | ValidateNode (AZ::Entity *nodeEntity, ValidationResults &validationEvents) const |
|
AZ::Outcome< void, ValidationStruct > | ValidateConnection (AZ::Entity *connection) const |
|
bool | IsInDataFlowPath (const Node *sourceNode, const Node *targetNode) const |
|
void | RefreshConnectionValidity (bool warnOnRemoval=false) |
|
AZ::Data::AssetId | GetAssetId () const override |
|
GraphIdentifier | GetGraphIdentifier () const override |
|
AZStd::string | GetAssetName () const override |
|
AZ::EntityId | GetRuntimeEntityId () const override |
|
VariableId | FindAssetVariableIdByRuntimeVariableId (VariableId runtimeId) const override |
|
AZ::EntityId | FindAssetNodeIdByRuntimeNodeId (AZ::EntityId editorNode) const override |
|
AZ::EntityId | FindRuntimeNodeIdByAssetNodeId (AZ::EntityId runtimeNode) const override |
|
void | RefreshVariableReferences (const VariableId &) override |
|
const GraphVariableMapping * | GetVariables () const override |
|
GraphVariable * | FindVariable (AZStd::string_view propName) override |
|
GraphVariable * | FindVariableById (const VariableId &variableId) override |
|
Data::Type | GetVariableType (const VariableId &variableId) const |
|
AZStd::string_view | GetVariableName (const VariableId &variableId) const |
|
bool | IsGraphObserved () const override |
|
void | SetIsGraphObserved (bool isObserved) override |
|
const AZStd::unordered_map< AZ::EntityId, Node * > & | GetNodeMapping () const |
|
void | VersioningRemoveSlot (ScriptCanvas::Node &scriptCanvasNode, const SlotId &slotId) |
|
Graph is the execution model of a ScriptCanvas graph.