Inherits AZ::EBusTraits.
|
virtual GraphCanvas::NodeId | AddNode (GraphModel::NodePtr node, AZ::Vector2 &sceneDropPosition)=0 |
| Add a new node at the specified position.
|
|
virtual bool | RemoveNode (GraphModel::NodePtr node)=0 |
| Remove the specified node.
|
|
virtual AZ::Vector2 | GetPosition (GraphModel::NodePtr node) const =0 |
| Retrieve the position for the specified node.
|
|
virtual void | WrapNode (GraphModel::NodePtr wrapperNode, GraphModel::NodePtr node)=0 |
| Embed a node on a wrapper node.
|
|
virtual void | WrapNodeOrdered (GraphModel::NodePtr wrapperNode, GraphModel::NodePtr node, AZ::u32 layoutOrder)=0 |
| Embed a node on a wrapper node with a layout order configured.
|
|
virtual void | UnwrapNode (GraphModel::NodePtr wrapperNode, GraphModel::NodePtr node)=0 |
|
virtual bool | IsNodeWrapped (GraphModel::NodePtr node) const =0 |
| Return if the specified node is a wrapped node.
|
|
virtual void | SetWrapperNodeActionString (GraphModel::NodePtr node, const char *actionString)=0 |
|
virtual GraphModel::ConnectionPtr | AddConnection (GraphModel::SlotPtr sourceSlot, GraphModel::SlotPtr targetSlot)=0 |
| Add a new connection between the specified source and target.
|
|
virtual GraphModel::ConnectionPtr | AddConnectionBySlotId (GraphModel::NodePtr sourceNode, const GraphModel::SlotId &sourceSlotId, GraphModel::NodePtr targetNode, const GraphModel::SlotId &targetSlotId)=0 |
| Create a new connection between the specified source and target specified slots.
|
|
virtual bool | AreSlotsConnected (GraphModel::NodePtr sourceNode, const GraphModel::SlotId &sourceSlotId, GraphModel::NodePtr targetNode, const GraphModel::SlotId &targetSlotId) const =0 |
| Check if there is a connection between the specified source and target specified slots.
|
|
virtual bool | RemoveConnection (GraphModel::ConnectionPtr connection)=0 |
| Remove the specified connection.
|
|
virtual GraphModel::SlotId | ExtendSlot (GraphModel::NodePtr node, const GraphModel::SlotName &slotName)=0 |
| Extend the given Slot on the specified node.
|
|
virtual GraphModel::NodePtr | GetNodeById (const GraphCanvas::NodeId &nodeId)=0 |
| Returns a GraphModel::Node that corresponds to the Graph Canvas Node Id.
|
|
virtual GraphModel::NodePtrList | GetNodesFromGraphNodeIds (const AZStd::vector< GraphCanvas::NodeId > &nodeIds)=0 |
| Retrieve the list of GraphModel::Nodes for the specified GraphCanvas node IDs.
|
|
virtual GraphCanvas::NodeId | GetNodeIdByNode (GraphModel::NodePtr node) const =0 |
| Returns the GraphCanvas::NodeId that corresponds to the specified GraphModel::Node.
|
|
virtual GraphCanvas::SlotId | GetSlotIdBySlot (GraphModel::SlotPtr slot) const =0 |
| Returns the GraphCanvas::SlotId that corresponds to the specified GraphModel::Slot.
|
|
virtual GraphModel::NodePtrList | GetNodes ()=0 |
| Retrieve all of the nodes in our graph.
|
|
virtual GraphModel::NodePtrList | GetSelectedNodes ()=0 |
| Retrieve the selected nodes in our graph.
|
|
virtual void | SetSelected (GraphModel::NodePtrList nodes, bool selected)=0 |
| Set the selected property on the specified Nodes.
|
|
virtual void | ClearSelection ()=0 |
| Clears the selection in the scene.
|
|
virtual void | EnableNode (GraphModel::NodePtr node)=0 |
| Enable the specified node in the graph.
|
|
virtual void | DisableNode (GraphModel::NodePtr node)=0 |
| Disable the specified node in the graph.
|
|
virtual void | CenterOnNodes (GraphModel::NodePtrList nodes)=0 |
| Move the view to be centered on the given Nodes.
|
|
virtual AZ::Vector2 | GetMajorPitch () const =0 |
| Retrieve the major pitch of the grid for this scene graph.
|
|
virtual void | SetThumbnailImageOnNode (GraphModel::NodePtr node, const QPixmap &image)=0 |
|
virtual void | SetThumbnailOnNode (GraphModel::NodePtr node, ThumbnailItem *item)=0 |
|
virtual void | RemoveThumbnailFromNode (GraphModel::NodePtr node)=0 |
|
GraphControllerRequests Used to invoke functionality on specific Graph Controllers