Skip to content

Commit 3ca1f7a

Browse files
committed
chore: upgrade yasgui to matdata/v5.0.0
1 parent 3a555cb commit 3ca1f7a

File tree

4 files changed

+99
-11
lines changed

4 files changed

+99
-11
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ A YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as i
2424
### NPM
2525

2626
```bash
27-
npm install @matdata/yasgui-graph-plugin @zazuko/yasgui vis-network
27+
npm install @matdata/yasgui-graph-plugin @matdata/yasgui vis-network
2828
```
2929

3030
```javascript
31-
import Yasgui from '@zazuko/yasgui';
31+
import Yasgui from '@matdata/yasgui';
3232
import GraphPlugin from '@matdata/yasgui-graph-plugin';
3333

3434
Yasgui.Yasr.registerPlugin('Graph', GraphPlugin);
@@ -40,8 +40,8 @@ const yasgui = new Yasgui(document.getElementById('yasgui'));
4040

4141
```html
4242
<!-- YASGUI -->
43-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazuko/yasgui@4/build/yasgui.min.css">
44-
<script src="https://cdn.jsdelivr.net/npm/@zazuko/yasgui@4/build/yasgui.min.js"></script>
43+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.0.0/build/yasgui.min.css">
44+
<script src="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.0.0/build/yasgui.min.js"></script>
4545

4646
<!-- Graph Plugin -->
4747
<script src="https://cdn.jsdelivr.net/npm/@matdata/yasgui-graph-plugin/dist/yasgui-graph-plugin.min.js"></script>
@@ -197,8 +197,8 @@ Contributions welcome! Please follow the project constitution (`.specify/memory/
197197
## 🙏 Acknowledgments
198198

199199
- Built with [vis-network](https://visjs.github.io/vis-network/) for graph rendering
200-
- Integrates with [YASGUI](https://github.com/zazuko/yasgui) SPARQL editor
201-
- Follows the [yasgui-geo](https://github.com/zazuko/yasgui-geo) plugin pattern
200+
- Integrates with [YASGUI](https://github.com/matdata/yasgui) SPARQL editor
201+
- Follows the [yasgui-geo](https://github.com/matdata/yasgui-geo) plugin pattern
202202

203203
## 📊 Project Status
204204

demo/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<title>YASGUI Graph Plugin Demo</title>
1515

1616
<!-- YASGUI CSS -->
17-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zazuko/yasgui@4.6.1/build/yasgui.min.css">
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.0.0/build/yasgui.min.css">
1818

1919
<!-- Font Awesome for icons -->
2020
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
@@ -136,7 +136,7 @@ <h2 onclick="toggleInstructions()">
136136
<div id="yasgui"></div>
137137

138138
<!-- YASGUI JavaScript -->
139-
<script src="https://cdn.jsdelivr.net/npm/@zazuko/yasgui@4.6.1/build/yasgui.min.js"></script>
139+
<script src="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.0.0/build/yasgui.min.js"></script>
140140

141141
<!-- Sample queries -->
142142
<script src="./queries.js"></script>
@@ -148,7 +148,7 @@ <h2 onclick="toggleInstructions()">
148148
try {
149149
const { default: GraphPlugin } = await import('../src/GraphPlugin.js');
150150
if (window.Yasgui && window.Yasgui.Yasr) {
151-
window.Yasgui.Yasr.registerPlugin('Graph', GraphPlugin);
151+
window.Yasgui.Yasr.registerPlugin('Graph-dev', GraphPlugin);
152152
pluginLoaded = true;
153153
console.log('Graph Plugin loaded from source (dev mode)');
154154
}

package-lock.json

Lines changed: 89 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"vis-network": "^9.1.9"
3838
},
3939
"peerDependencies": {
40-
"@zazuko/yasgui": "^4.0.0"
40+
"@matdata/yasgui": "^5.0.0"
4141
},
4242
"devDependencies": {
4343
"vite": "^5.0.0",

0 commit comments

Comments
 (0)