Skip to content

Conversation

VladimirAlexiev
Copy link
Contributor

@VladimirAlexiev VladimirAlexiev commented Aug 8, 2025

Closes #486

See document rendered online. UPD: works now.

Note: For some reason the HTML preview doesn't work right now (githack cache is not invalidated?). These two show different things (Do I have some stupid mistake in the URLs?):

You can see the diagram in "Files changed"

Comment on lines 7987 to 7998
// Load and inline SVG diagrams
// TODO: add <svg desc> for accessibility
function svgInline(svg) {
fetch('images/'+svg)
.then(response => response.text())
.then(svgText => {
const container = document.getElementById(svg);
container.innerHTML = svgText;
})};

// svgInline('SHACL-UML.svg');
svgInline('ValidationReport-UML.svg');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you use plain HTML with an img element? That would reduce the total lines of JS code and make the spec a bit easier to maintain.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we won't have clickable links with img.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. But it should be mentioned in the comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bergos that's exactly the reason.
Same as this prior PR: replace with script that embeds SVG content

Co-authored-by: Thomas Bergwinkl <[email protected]>
@YoucTagh YoucTagh requested a review from bergos August 18, 2025 08:51
@VladimirAlexiev
Copy link
Contributor Author

@YoucTagh adding the abstract class results in 2 parallel arrows (one relation, the other inheritance). Do you really like this?

image

@YoucTagh
Copy link
Contributor

@VladimirAlexiev, I believe this better reflects the model. However, I think it would be clearer if the two arrows were not positioned directly on top of each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add ValidationReport UML diagram
3 participants