 | GraphValidatorValidate Method |
Checks whether a graph meets its connection assertions.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static bool Validate(
IGraph graph,
ValidationMode mode,
out List<ConnectionAssertionError> errors
)
Parameters
- graph
- Type: de.unika.ipd.grGen.libGrIGraph
The graph to validate. - mode
- Type: de.unika.ipd.grGen.libGrValidationMode
The validation mode to apply. - errors
- Type: System.Collections.GenericListConnectionAssertionError
If the graph is not valid, this refers to a List of ConnectionAssertionError objects, otherwise it is null.
Return Value
Type:
BooleanTrue, if the graph is valid.
See Also