public DefaultUmlDiagram toDefault( UmlDiagram diagram ) {
		if( diagram instanceof DefaultUmlDiagram ) {
			DefaultUmlDiagram result = (DefaultUmlDiagram) diagram;
			if( result.getRepository() == this ) {
				return result;
			}
		}
		throw new IllegalArgumentException( "the diagram was not created by this repository" );
	}