[DOCS] Regenerate the class diagram in the README
The class diagram is (almost) unchanged to the output from tasuku43/mermaid-class-diagram, except for the kept direction LR.
This is in preparation for adding a script for auto-creating the class diagram in #1297.
coverage: 59.658%. remained the same when pulling 3da94d46c18f93848620cf5d78690ed854a4560b on docs/update-class-diagram into f5ad2e777f93cfeacd7fc35fef2ed1061e753299 on main.
Marking this as draft for now. I'll first reorder the classes in the diagram to make this PR here a bit smaller.
It would be nice if the diagram had fewer criss-crossing paths. AI should be good at that, but seems to be vastly overrated :/
So we no longer identify the property that has the dependency (or whether it's as a single object, array, or whatever). Is there any reason for this change?
The old version of the generator which we used did not recognize associations at all. That's why I manually added those to the diagram, including the name of the corresponding property.
The current version of the generator does recognize associations, even though it only labels them as "dependency", but not with the name of the corresponding property.
I think this needs three separate pre-patches so the diffs can be more clearly seen
Makes sense, will do.
Okay, putting this on the backburner until the diagram generator has these two bugfixes/features.
I've created two tickets for that:
- https://github.com/tasuku43/php-mermaid-class-diagram/issues/26
- https://github.com/tasuku43/php-mermaid-class-diagram/issues/27