create diagram uri as platform resource URI (same as editor) to not load
the same resource twice in the resourceset
clean code