[data-shapes] Pull Request: Add Plantuml variant (re #166)

VladimirAlexiev has just submitted a new pull request for https://github.com/w3c/data-shapes:

== Add Plantuml variant (re #166) ==
Reopens #166: by using better technology (PlantUML) we can improve the diagram a lot more easily, and make new diagrams.

<img width="654" height="633" alt="image" src="https://github.com/user-attachments/assets/d269f79c-3e02-43d5-a867-be53b76e62e0" />
- added link `NodeShape->PropertyShape`
- broke the long text to 2 lines
- shown `PropertyGroup`
- added `sh:order` to `PropertyShape` and `PropertyGroup`

These are minor fixes, but the point is that with PlantUML we can maintain more easily, add more diagrams (eg Node Expressions), and make more kinds of diagrams.

[See SVG diagram rendered at plantuml server](https://www.plantuml.com/plantuml/svg/hLPBRzGm4BxdLrZbXiX6m2r2g6AHk1IAAE9IUfYDPvFGs8x6atOZuBzZEzuysatL0tkQn_VDZ3CFxRbb8EvKarIrH57KL3He1mLLoxrGg7P8Dh6tjMw1G0asRKUDg9XRcsSPmVschBc2udPJ69NTloqo2GofhQ15cocmZ9GvhMXUlqaBGvZLMk9XKx7BcnGDM2lER9LVUSAP02k29AwlNmmnRcx4xqHudO5Av6sWECQaUamkIEvj7jGv_8kHwD6J5i2W-pdgSlSB2xQN-n4wcOx1ywzaMYHU4A-w9NEohL4txZT4a0W5rtV0A3rvfWRUmSfyPqo3e0UyGckX3A-9ueYpJBKkXQ6GhG5TNWNBGBHuXrHpxvb7EL3zTuzwydVU3V-TfewCcW-cdP8-R4rXj6M2MhCLsr4MOMQGaHpqbTWR4dW0rJQOHrfZBCg9i3MgDHer-ye6vyDF8Go59_MQuP1Irs0w05C_TzotwBaV-kzzA738OsWbXo5Nc4U0NYl3UIBcu6mh8EyQctrHMnxoQiCh1ES9-77CHTm15sRHYd5qfdOiB3v26mt_gosVQxqrdLwhNKMt8mSq79v4H_VOI0V04cbCTO6wv6gDVVHFoPx67_sdquNpi3flmoKP1knZdAOLi8pkwV9yGsiwAj3nVshXV-Cm2BDVOkA5ydkrEX_nK2qtJinsq_aNvqI3ma05zTp38D5ItN9jj2SwhOZgC_dpBMo1grJY7hg6Vq3JXLhc-dHtdqMzyu9TaWn99EyCGl3fJkr2Tn_lWGVwq8zxT7h3Ff7fsiM61OkFN0R1OOCmBLXGJnRaCWpx-UvFcauNT6PSxd4oGaJwVkaI-ThZeidbVPaiAQaBidn5Bauz93b7BVrVW7y0) 
- Try out the links: they work and are relative
  - There's `skinparam topurl https://raw.githack.com/w3c/data-shapes/master/shacl12-core/index.html` in the `.puml` file but we should try to leave it out and see whether the links use as base the HTML URL (good) or the SVG URL (bad)
- There's a Makefile that produces SVG using a local `plantuml` installation
- We want to use a local installation because the build shouldn't depend on an external server
  - https://github.com/plantuml/plantuml/issues/2289 and because of this rendering problem
- https://github.com/plantuml/plantuml/issues/2290 There's no blue underline on the class name... but the whole node is clickable and goes to the class definition

If you agree, I can:
- replace the textual diagram in the HTML with `<img>` tag
- remove `Class-Diagram-Arrows.png`

Please check all links for accuracy!

See https://github.com/w3c/data-shapes/pull/471


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 5 August 2025 14:57:07 UTC