Skip to content

Commit 713a384

Browse files
committed
Update for yFiles for HTML 2.6.0.2
1 parent e9b5808 commit 713a384

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module.exports = {
99
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
1010
plugins: ['react-refresh'],
1111
rules: {
12-
'react-refresh/only-export-components': 'warn',
12+
'react-refresh/only-export-components': 'warn'
1313
},
1414
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ A step-by-step description of how to integrate yFiles in a React application can
3939

4040
## What's next?
4141

42-
This basic yFiles integration can be used as a starting point to test the capabilities of yFiles or to implement your own use case. yFiles for HTML comes with a lot of [source-code demos](https://live.yworks.com/demos/index.html) that show different aspects of the library.
42+
This basic yFiles integration can be used as a starting point to test the capabilities of yFiles or to implement your own use case. yFiles for HTML comes with a lot of [source-code demos](https://www.yworks.com/demos) that show different aspects of the library.
4343

4444
You can browse through the demos and look for features that you find interesting for your use case and integrate it in this basic component to build a more sophisticated application.
4545

46-
The yFiles package also contains a more extensive [React integration demo](https://live.yworks.com/demos/toolkit/react/index.html) ([GitHub](https://github.com/yWorks/yfiles-for-html-demos/tree/master/demos/toolkit/react)).
46+
The yFiles package also contains a more extensive [React integration demo](https://www.yworks.com/demos/toolkit/react/) ([GitHub](https://github.com/yWorks/yfiles-for-html-demos/tree/master/demos/toolkit/react)).
4747

4848
Furthermore, there is an extensive [Developer's Guide](https://docs.yworks.com/yfileshtml/#/dguide/introduction#top) that covers anything from graph creation and styling to automatic layouts and advanced customizations.
4949

integration-howto.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ the following options:
1919

2020
Adding yFiles as a dependency is almost as easy as installing an external library from the npm registry:
2121

22-
1. Add yFiles for HTML as npm dependency to the created project, for example like this:
22+
1. Add yFiles for HTML as npm dependency to the created project, for example, like this:
2323

2424
```
2525
"dependencies": {
2626
...
27-
"yfiles": "../yFiles-for-HTML-Complete-2.6.0.1-Evaluation/lib-dev/yfiles-26.0.1+eval-dev.tgz"
27+
"yfiles": "../yFiles-for-HTML-Complete-2.6.0.2-Evaluation/lib-dev/yfiles-26.0.2+eval-dev.tgz"
2828
},
2929
```
3030

@@ -51,7 +51,7 @@ With the yFiles dependency, you can easily create a new React component that con
5151

5252
Make sure to configure your license data as described above.
5353

54-
2. Afterwards, just add the new React component to the `App.tsx`.
54+
2. Afterward, just add the new React component to the `App.tsx`.
5555

5656
And that's it. Run `npm run dev` to serve the application at [http://localhost:5173/](http://localhost:5173/) with a basic yFiles component.
5757

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yfiles-react-integration-basic",
3-
"version": "26.0.1",
3+
"version": "26.0.2",
44
"author": "yWorks GmbH <[email protected]>",
55
"private": true,
66
"type": "module",
@@ -10,12 +10,12 @@
1010
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
1111
"preview": "vite preview",
1212
"postinstall": "npm run copy-eval-license",
13-
"copy-eval-license": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-2.6.0.1-Evaluation/lib/license.json','./src/license.json')\""
13+
"copy-eval-license": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-2.6.0.2-Evaluation/lib/license.json','./src/license.json')\""
1414
},
1515
"dependencies": {
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0",
18-
"yfiles": "../yFiles-for-HTML-Complete-2.6.0.1-Evaluation/lib-dev/yfiles-26.0.1+eval-dev.tgz"
18+
"yfiles": "../yFiles-for-HTML-Complete-2.6.0.2-Evaluation/lib-dev/yfiles-26.0.2+eval-dev.tgz"
1919
},
2020
"devDependencies": {
2121
"@types/react": "^18.2.0",

0 commit comments

Comments
 (0)