Skip to content

Commit

Permalink
Update for yFiles for HTML 2.4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
michabaur committed Feb 9, 2022
1 parent 85c2034 commit f545968
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 29 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 yWorks GmbH
Copyright (c) 2022 yWorks GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Checkout this project, then extract the yFiles for HTML package to a directory n
```
documents
|-- ontology-visualizer
|-- yFiles-for-HTML-Complete-2.3.0.4-Evaluation
|-- yFiles-for-HTML-Complete-2.4.0.5-Evaluation
```

Afterwards, enter the `ontology-visualizer` directory and run the usual commands
Expand Down Expand Up @@ -68,7 +68,7 @@ The app shows data from [DBpedia](http://dbpedia.org/ontology/)

The MIT License (MIT)

Copyright (c) 2021 yWorks GmbH
Copyright (c) 2022 yWorks GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
12 changes: 6 additions & 6 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'yfiles/yfiles.css'
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'
import '@fortawesome/fontawesome-free/js/fontawesome'
Expand Down Expand Up @@ -130,11 +129,12 @@ class App {
font: `12px ${defaultFontFamily}`,
insets: new Insets(4),
})
this.graphComponent.graph.nodeDefaults.labels.layoutParameter = FreeNodeLabelModel.INSTANCE.createParameter(
new Point(0.5, 1),
new Point(0, 0),
new Point(0.5, 0.5)
)
this.graphComponent.graph.nodeDefaults.labels.layoutParameter =
FreeNodeLabelModel.INSTANCE.createParameter(
new Point(0.5, 1),
new Point(0, 0),
new Point(0.5, 0.5)
)

this.initializeInputMode()
this.initializePopups()
Expand Down
38 changes: 18 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,50 +5,48 @@
"version": "1.0.0",
"private": true,
"scripts": {
"preinstall": "cd ../yFiles-for-HTML-Complete-2.3.0.4-Evaluation/ && npm pack lib/es-modules/",
"preinstall": "cd ../yFiles-for-HTML-Complete-2.4.0.5-Evaluation/ && npm pack lib/es-modules/",
"postinstall": "node copy-license.js",
"loadData": "node loadData",
"service": "node ./service",
"app": "webpack --mode development && webpack-dev-server --mode development --open",
"duo": "run-p service app",
"start": "run-s loadData duo",
"prettier": "prettier --write **/*.{js,json,ts,css}"
"start": "run-s loadData duo"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.14.0",
"bootstrap": "^4.5.0",
"@fortawesome/fontawesome-free": "^5.15.3",
"bootstrap": "^4.6.0",
"cookie-parser": "~1.4.5",
"core-js": "^3.6.5",
"core-js": "^3.15.1",
"cors": "^2.8.5",
"debug": "~2.6.9",
"ejs": "~2.6.1",
"ejs": "~2.7.4",
"express": "~4.17.1",
"faker": "^4.1.0",
"http-errors": "~1.8.0",
"jquery": "^3.5.1",
"leveldown": "^5.6.0",
"lodash": "^4.17.19",
"lodash": "^4.17.21",
"morgan": "~1.10.0",
"n3": "^1.6.0",
"n3": "^1.10.0",
"npm-run-all": "^4.1.5",
"popper.js": "^1.16.1",
"prettier": "^1.19.1",
"regenerator-runtime": "^0.13.7",
"quadstore": "^5.2.0",
"yfiles": "../yFiles-for-HTML-Complete-2.3.0.4-Evaluation/yfiles-23.0.4-eval.tgz"
"yfiles": "../yFiles-for-HTML-Complete-2.4.0.5-Evaluation/yfiles-24.0.5-eval.tgz"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@yworks/optimizer": "^1.3.2",
"babel-loader": "^8.1.0",
"css-loader": "^4.0.0",
"mini-css-extract-plugin": "^0.9.0",
"@babel/core": "^7.14.6",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.14.7",
"@yworks/optimizer": "^1.5.0",
"babel-loader": "^8.2.2",
"css-loader": "^4.3.0",
"mini-css-extract-plugin": "^0.12.0",
"mocha": "^6.2.3",
"should": "^13.2.3",
"webpack": "^4.44.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
"webpack-dev-server": "^3.11.2"
}
}

0 comments on commit f545968

Please sign in to comment.