src/main/java/com/mxgraph/swing/mxGraphComponent.java
public String validateGraph()
	{
		return validateGraph(graph.getModel().getRoot(),
				new Hashtable<Object, Object>());
	}
/**
	 * Validates the graph by validating each descendant of the given cell or
	 * the root of the model. Context is an object that contains the validation
	 * state for the complete validation run. The validation errors are attached
	 * to their cells using <setWarning>. This function returns true if no
	 * validation errors exist in the graph.
	 */
Validates the graph by validating each descendant of the given cell or
the root of the model. Context is an object that contains the validation
state for the complete validation run. The validation errors are attached
to their cells using . This function returns true if no
validation errors exist in the graph.
Validates the graph by validating each descendant of the given cell or the root of the model . Context is an object that contains the validation state for the complete validation run . The validation errors are attached to their cells using . This function returns true if no validation errors exist in the graph .
public String validateGraph()
	{
		return validateGraph(graph.getModel().getRoot(),
				new Hashtable<Object, Object>());
	}
public String validateGraph ( ) { return validateGraph ( graph . getModel ( ) . getRoot ( ) , new Hashtable < Object , Object > ( ) ) ; }
Validates the graph by validating each descendant of the given cell or
 the root of the model.
Validates the graph by validating each descendant of the given cell or the root of the model .