/// <summary> /// /// </summary> /// <param name="shapeNode"></param> /// <param name="inputPortName"></param> /// <returns>Default if failed.</returns> public static ShapeNode GetInputShapeNode(this ShapeNode shapeNode, string inputPortName) { var port = shapeNode.GetInputPort(inputPortName); if (port is null) { BulletStormLogger.LogError($"Node {shapeNode}: port 'inputShape' not found."); return(default);