Function ParseGraphConnectionWithClassType
-
ParseGraphConnectionWithClassType<BlockT extends FlowGraphBlock>(
serializationObject?: any,
ownerBlock: BlockT,
classType: typeof FlowGraphConnection,
): FlowGraphConnection<BlockT, IConnectable>Type Parameters
- BlockT extends FlowGraphBlock
Parameters
- serializationObject: any = {}
the object to parse from.
- ownerBlock: BlockT
the block that owns the connection.
- classType: typeof FlowGraphConnection
the class type of the connection.
Returns FlowGraphConnection<BlockT, IConnectable>
the parsed connection.
Parses a connection from an object