I use Data modelling to model tables and their relations. The model displays the constraint names, which are often long and are unimportant to me. I want to display only cardinalities and join columns. Is there a way to hide the constraint names, and keep other labels?
I'm aware of the option to hide all connector labels, and the possibility to hide individual labels. The former is unusable (hides important information), the latter is impractical in large models.
I managed to do it using the script below. I tested it in EA version 14.1 and 16.1 Corporate. To add the script, display the Scripting tab using *Ribbon > Specialize > Tools > Script Library *. Add a new diagram group, to which you can add a new VBScript:
Copy-paste the code below and then run the script.
Make sure you save your diagram before running the script, otherwise EA it will discard your unsaved changes. You also can't undo the effects of running the script (EA needs improving here, this is true for EA 16.1).