npm installto install the dependencies.
- Specify the input (
contentSrc) and output (
contentDest) folder in the gruntfile.
gruntto migrate your files from yFiles for HTML 2.1 to yFiles for HTML 2.2.
Please review the migrated files after the process. The migration tool will automatically convert API calls from 2.1 to 2.2.
Afterwards you will find many yFiles API calls to be migrated automatically. Usually, you will also find
TODO: Migration: ...
annotations in the output files. These occurences need a manual review because the tool was not able to convert it automatically.
This may be due to missing type information or due to incompatible API changes.