Skip to content

Commit

Permalink
yFiles for HTML 2.3.0.2 demos
Browse files Browse the repository at this point in the history
  • Loading branch information
michabaur committed Aug 6, 2020
1 parent 825c949 commit f76427e
Show file tree
Hide file tree
Showing 330 changed files with 62,176 additions and 8,758 deletions.
1 change: 1 addition & 0 deletions demos/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/test/*.js
55 changes: 17 additions & 38 deletions demos/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"plugins": ["prettier", "standard", "wdio"],
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react", "standard", "wdio"],
"extends": [
"standard",
"plugin:prettier/recommended",
"prettier/standard",
"plugin:wdio/recommended"
"plugin:@typescript-eslint/eslint-recommended",
"plugin:react/recommended",
"plugin:wdio/recommended",
"prettier",
"prettier/@typescript-eslint",
"prettier/react",
"prettier/standard"
],
"env": {
"amd": true,
Expand All @@ -14,40 +19,14 @@
"node": true
},
"rules": {
"prettier/prettier": "warn",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-multi-str": "off",
"no-unused-vars": "off",
"no-var": "error",
"no-unused-vars": [
"warn",
{
"varsIgnorePattern": "[A-Z]\\w+",
"argsIgnorePattern": ".*"
}
],
"prefer-const": "error"
},
"overrides": [
{
"files": ["*.ts", "*.tsx", ".*.ts", ".*.tsx"],
"extends": [
"standard",
"plugin:prettier/recommended",
"prettier/standard",
"plugin:@typescript-eslint/recommended",
"plugin:wdio/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"varsIgnorePattern": "[A-Z]\\w+",
"argsIgnorePattern": ".*"
}
]
}
}
]
}
}
2 changes: 2 additions & 0 deletions demos/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/node_modules/
**/dist/
**/*.html
**/*.md
view/largegraphs/resources/*.json
5 changes: 3 additions & 2 deletions demos/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"printWidth": 100,
"tabWidth": 2,
"endOfLine": "auto",
"useTabs": false,
"semi": false,
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "avoid",
"disableLanguages": ["html"]
"trailingComma": "none",
"arrowParens": "avoid"
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
visual.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ export default class MySimpleNodeStyle extends NodeStyleBase {
use.href.baseVal = `#${defsId}`
use.setAttribute(
'transform',
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX -
tileSize2 * xScaleFactor} ${offsetY - tileSize2 * yScaleFactor})`
`matrix(${xScaleFactor} ${0} ${0} ${yScaleFactor} ${offsetX - tileSize2 * xScaleFactor} ${
offsetY - tileSize2 * yScaleFactor
})`
)
container.appendChild(use)
}
Expand Down
Loading

0 comments on commit f76427e

Please sign in to comment.