Gramps Data Model diagram (I did not understand the of relation in data, until I exploring by creating a diagram - Shared under Creative Commons Zero terms.)

I did not understand the objective of the Diagram (in contrast to the Gramps Data Model diagram) until exploring. Stating that outright might start a discussion of uses for the diagram. Gramps Data Model diagram (https://github.com/mod-by-cis/gramps-data-model) I shared it under Creative Commons Zero terms.

The graphs of the data model were created in the free yEd programme of the yWorks. yEd - live, yEd - downloads.

Data Model Diagram (lang: english; v.2025-02-27)

diagram available in format:

Data Model Diagram (lang: polish; v.2025-02-27)

diagram available in format:

Unable to find a chart of the data model in Gramps anywhere, I decided to create one myself. I claim no rights to it—I just want to share it in case it might help someone.

5 Likes

IMHO showing all existing relations between the records is of little help in understanding the data model. Such a global drawing contains all potential links between records without explicitly telling in which circumstances these links are active.

I prefer to split the diagram into “local” diagrams related to primary interest records where only the links relevant to this record are depicted. See for example here the case of Person.

This is less confusing because it eliminates loops present in the global diagram.

You can find a diagram of the Gramps Data Model in our wiki documentation.

2 Likes

And there is a different alternative diagram offered in another thread by @pgerlier

One of the big differences in the new diagrams (shared by Jan… or Patrick in that thread) from the Gramps Data Diagram (shared by Nick in the wiki) is these new diagrams can easily be reshaped.

The object data is in a format for another drawing Application where boxes can be moved and the flow of arrows will recalculate.

1 Like

The application that I used is the Dia diagram editor. It has all the usual features that you would expect.

For v6.0 the only changes will be to change the variables with double underscores to properties without the underscores.

I also made a class model diagram, but I don’t think that it is as useful as the data model.

2 Likes

That’s great info. Not all layouts make sense to everyone. So being able to use more tools to explore data relationships helps.

It is helpful that some Gramps charts views can output GraphViz files. It sometimes clarifies to be able to reorganize the nodes of a chart.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.