Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
schemadotorg
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
schemadotorg
Merge requests
!170
Resolve
#3455664
"Add diagram"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
#3455664
"Add diagram"
issue/schemadotorg-3455664:3455664-add-diagram
into
1.0.x
Overview
0
Commits
5
Pipelines
7
Changes
8
Merged
Jacob Rockowitz
requested to merge
issue/schemadotorg-3455664:3455664-add-diagram
into
1.0.x
11 months ago
Overview
0
Commits
5
Pipelines
7
Changes
8
Expand
Closes
#3455664
0
0
Merge request reports
Compare
1.0.x
version 6
31417f16
11 months ago
version 5
31417f16
11 months ago
version 4
31417f16
11 months ago
version 3
8526ecac
11 months ago
version 2
c131a0cd
11 months ago
version 1
67fdaf7e
11 months ago
1.0.x (base)
and
latest version
latest version
31417f16
5 commits,
11 months ago
version 6
31417f16
5 commits,
11 months ago
version 5
31417f16
5 commits,
11 months ago
version 4
31417f16
5 commits,
11 months ago
version 3
8526ecac
4 commits,
11 months ago
version 2
c131a0cd
3 commits,
11 months ago
version 1
67fdaf7e
2 commits,
11 months ago
8 files
+
432
−
153
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
js/schemadotorg.mermaid.js
+
8
−
1
Options
@@ -32,11 +32,18 @@
}
});
// Via post render close opened details
.
// Via post render close opened details
and svg-pan-zoom
mermaid
.
run
({
querySelector
:
'
.mermaid, .language-mermaid
'
,
postRenderCallback
:
()
=>
{
closedDetails
.
forEach
((
element
)
=>
element
.
removeAttribute
(
'
open
'
));
// @see https://github.com/ariutta/svg-pan-zoom
if
(
window
.
svgPanZoom
)
{
svgPanZoom
(
'
.mermaid svg, .language-mermaid svg
'
,
{
controlIconsEnabled
:
true
,
});
}
},
});
},
Loading