Returns the first graph of type type found in the graphs array.
System.Type
type
Returns null if no graph was found.