Defines base classes for node declarations.
Abstract base class for a node declaration, which refers to some animation node of a specific box. A node declaration is one part of a connection declaration and is either a source (to the left of the arrow) or a destination (to the right of the arrow).
Initializes a new node declaration which refers to some node of the given box. isSrc indicates whether that box is used as a source or a destination in the connection.
Overridden by subclasses in order to resolve the appropriate FBAnimationNode of the associated box, using the supplied FBBox component to locate and return the node.
Returns: | the FBAnimationNode that corresponds to this declaration. |
---|---|
Raises : | an ExecutionError if the node can not be found. |
Helper function that returns the parent animation node on either side of the given box component, depending on whether the node is the source or the destination in its connection. Source connections send data through their output nodes, whereas destination connections receive data through their input nodes.