Skip to content

Commit c6939c6

Browse files
committed
Update for yFiles for HTML 2.5.0.2
1 parent 0225455 commit c6939c6

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ yarn-debug.log*
66
yarn-error.log*
77
pnpm-debug.log*
88
lerna-debug.log*
9+
package-lock.json
10+
yarn.lock
911

1012
node_modules
1113
.DS_Store

integration-howto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Adding yFiles as a dependency is almost as easy as installing an external librar
3030
```
3131
"dependencies": {
3232
...
33-
"yfiles": "../yFiles-for-HTML-Complete-2.5-Evaluation/lib-dev/yfiles-25.0.1+eval-dev.tgz"
33+
"yfiles": "../yFiles-for-HTML-Complete-2.5.0.2-Evaluation/lib-dev/yfiles-25.0.2+eval-dev.tgz"
3434
},
3535
```
3636

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"type-check": "vue-tsc --noEmit",
1212
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
1313
"postinstall": "npm run copy-eval-license",
14-
"copy-eval-license": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-2.5-Evaluation/lib/license.json','./src/license.json')\""
14+
"copy-eval-license": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-2.5.0.2-Evaluation/lib/license.json','./src/license.json')\""
1515
},
1616
"dependencies": {
1717
"vue": "^3.2.37",
18-
"yfiles": "../yFiles-for-HTML-Complete-2.5-Evaluation/lib-dev/yfiles-25.0.1+eval-dev.tgz"
18+
"yfiles": "../yFiles-for-HTML-Complete-2.5.0.2-Evaluation/lib-dev/yfiles-25.0.2+eval-dev.tgz"
1919
},
2020
"devDependencies": {
2121
"@rushstack/eslint-patch": "^1.1.0",

src/components/GraphComponent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ref, onUnmounted, onMounted } from 'vue'
2+
import { onMounted, onUnmounted, ref } from 'vue'
33
import { GraphComponent, GraphEditorInputMode, IGraph, License, Point, Rect } from 'yfiles'
44
import licenseData from '../license.json'
55
@@ -11,7 +11,7 @@ const graphComponent = initializeGraphComponent()
1111
graphComponent.inputMode = new GraphEditorInputMode()
1212
1313
onMounted(() => {
14-
;(gcContainer.value as HTMLDivElement).appendChild(graphComponent.div)
14+
;(gcContainer.value as unknown as HTMLDivElement).appendChild(graphComponent.div)
1515
graphComponent.fitGraphBounds()
1616
})
1717

0 commit comments

Comments
 (0)