To get this up and running, you need a current NodeJS version, a yFiles for HTML distribution plus a license. Depending on what you got and where it is placed, you may have to adjust the package.json file.
This app was generated by the App Generator (v1.4.0) for yFiles.
It integrates yFiles for HTML in a Vue CLI application with TypeScript and loads graph data from a source customized in the App Generator.
To run this project, a valid yFiles for HTML version is required. You can evaluate yFiles 60 days free of charge on my.yworks.com.
- Vue CLI 4.5
- TypeScript 3.9
- yFiles for HTML 2.4
Install required dependencies with
npm install
If this fails, the yFiles library is probably located at a different location than provided when this app was generated.
In this case fix the paths in the dependencies.yfiles
and scripts.postinstall
fields of the package.json
file.
You can serve the application on http://localhost:8080/ with
npm run serve
This basic application 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 that show different aspects of the library.
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.
Furthermore, there is an extensive Developer's Guide that covers anything from graph creation and styling to automatic layouts and advanced customizations.
If you need help with your setup or a certain feature, don't hesitate to contact our support through the Customer Center or by email yfileshtml@yworks.com.