/Engine/Source/Editor/KismetCompiler/Public/EdGraphCompilerUtilities.h
Performs standard validation on the graph (outputs point to inputs, no more than one connection to each input, types match on both ends, etc...)
bool ValidateGraphIsWellFormed ( [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * Graph ) const