Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: nmcdermaid on March 06, 2024, 10:06:19 am

Title: ER Diagrams: hide PK and FK
Post by: nmcdermaid on March 06, 2024, 10:06:19 am
Hi, along the lines of this post
https://sparxsystems.com/forums/smf/index.php?topic=25130.0

I'd like to unclutter my ER diagrams by hiding FK's and PK's. Is there any way to do that?

For example I've built an Er diagram and specified primary key and set up some "associations", which automatically creates Foreign Keys.

All my tables have a footer section with FK's and PK's listed, but I want to hide these. Is there any way to do it? I've been through the Diagram properties menu but can't find anything to hide them.

If I delete the FK behind the scenes, it removes cardinality icons
Title: Re: ER Diagrams: hide PK and FK
Post by: rupertkiwi on March 06, 2024, 01:24:21 pm
There should be something in the Diagram Properties under the 'Connectors' tab to 'Show Stereotype Labels'.

If you uncheck this box it may help

Also if you uncheck the box 'Show Qualifiers and Visibility Indicators' in the 'Features' tab that may help too.
Title: Re: ER Diagrams: hide PK and FK
Post by: nmcdermaid on March 06, 2024, 02:36:12 pm
Thanks. Unticking various boxes, including the ones you mentioned, have helped.

After digging around further based on your instructions, I found how to hide the FK's and PK's

Right click diagram pane
Properties
Elements Tab
"Show Compartments" area
Unitck "Operations"