Unified edge editor and generic edge queries

Use the enhancement script "Migrate Diagram Editor" to migrate existing diagrams