private System.Type FindNodeEditor(ActionGraphNodeBase node)
        {
            return(NodeEditors.FirstOrDefault(t => t.CustomAttributes.Any(
                                                  a =>
            {
                if (a.AttributeType == typeof(CustomActionEditor) &&
                    a.ConstructorArguments.Count >= 1)
                {
                    return a.ConstructorArguments[0].Value == node.GetType();
                }

                return false;
            })));
        }