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"

VladimirAlexiev and others added 2 commits August 11, 2025 12:31
Co-authored-by: Yousouf Taghzouti <48333491+YoucTagh@users.noreply.github.com>
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 <bergos@users.noreply.github.com>
@YoucTagh YoucTagh requested a review from bergos August 18, 2025 08:51
Co-authored-by: Yousouf Taghzouti <48333491+YoucTagh@users.noreply.github.com>
@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.

@HolgerKnublauch HolgerKnublauch added the Core For SHACL 1.2 Core spec label Oct 6, 2025
@YoucTagh
Copy link
Contributor

YoucTagh commented Oct 9, 2025

@VladimirAlexiev, could you please update the PR to reflect this suggestion:

@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.

@VladimirAlexiev
Copy link
Contributor Author

hi @YoucTagh , does this look ok?
image
PS: I moved AbstractResult to the side since it's not used often.

@VladimirAlexiev
Copy link
Contributor Author

@bergos the comment now says

    // Load and inline SVG diagrams for clickable links

@YoucTagh
Copy link
Contributor

@VladimirAlexiev, could you please resolve the conflict by pulling the current index.html? The branch is currently 150 commits behind.

@bergos, do you approve the changes?

@VladimirAlexiev
Copy link
Contributor Author

@afs (cc @YoucTagh , @bergos) I'll sync as Andy said

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core For SHACL 1.2 Core spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add ValidationReport UML diagram

4 participants