Author Topic: ER Diagrams: hide PK and FK  (Read 4564 times)

nmcdermaid

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
ER Diagrams: hide PK and FK
« 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
« Last Edit: March 06, 2024, 10:07:58 am by nmcdermaid »

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
Re: ER Diagrams: hide PK and FK
« Reply #1 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.

nmcdermaid

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: ER Diagrams: hide PK and FK
« Reply #2 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"
« Last Edit: March 06, 2024, 02:39:46 pm by nmcdermaid »