Skip to content

Commit 4259742

Browse files
committed
yFiles for HTML 2.4.0.1 demos
1 parent 7fc1f53 commit 4259742

File tree

448 files changed

+1729
-1098
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

448 files changed

+1729
-1098
lines changed

demos/01-tutorial-getting-started/02-graph-element-creation/SampleApplication.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
**
2828
***************************************************************************/
2929
import { FreeNodePortLocationModel, GraphComponent, License, Point, Rect } from 'yfiles'
30-
import { showApp } from '../../resources/demo-app.js'
30+
import { checkLicense, showApp } from '../../resources/demo-app.js'
3131
import loadJson from '../../resources/load-json.js'
3232

3333
/** @type {GraphComponent} */
@@ -121,4 +121,4 @@ function populateGraph() {
121121
// ////////////////////////////////////////////////////
122122

123123
// start tutorial
124-
loadJson().then(run)
124+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/02-graph-element-creation/SampleApplication.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
**
2828
***************************************************************************/
2929
import { FreeNodePortLocationModel, GraphComponent, License, Point, Rect } from 'yfiles'
30-
import { showApp } from '../../resources/demo-app'
30+
import { checkLicense, showApp } from '../../resources/demo-app'
3131
import loadJson from '../../resources/load-json'
3232

3333
// @ts-ignore
@@ -118,4 +118,4 @@ function populateGraph(): void {
118118
// ////////////////////////////////////////////////////
119119

120120
// start tutorial
121-
loadJson().then(run)
121+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/03-managing-viewport/SampleApplication.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import {
3737
Rect
3838
} from 'yfiles'
3939

40-
import { bindCommand, showApp } from '../../resources/demo-app.js'
40+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app.js'
4141
import loadJson from '../../resources/load-json.js'
4242

4343
/** @type {GraphComponent} */
@@ -188,4 +188,4 @@ function registerCommands() {
188188
}
189189

190190
// start tutorial
191-
loadJson().then(run)
191+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/03-managing-viewport/SampleApplication.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import {
3737
Rect
3838
} from 'yfiles'
3939

40-
import { bindCommand, showApp } from '../../resources/demo-app'
40+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app'
4141
import loadJson from '../../resources/load-json'
4242

4343
// @ts-ignore
@@ -185,4 +185,4 @@ function registerCommands(): void {
185185
}
186186

187187
// start tutorial
188-
loadJson().then(run)
188+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/04-setting-styles/SampleApplication.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {
4444
Size
4545
} from 'yfiles'
4646

47-
import { bindCommand, showApp } from '../../resources/demo-app.js'
47+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app.js'
4848
import loadJson from '../../resources/load-json.js'
4949

5050
/** @type {GraphComponent} */
@@ -263,4 +263,4 @@ function registerCommands() {
263263
}
264264

265265
// start tutorial
266-
loadJson().then(run)
266+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/04-setting-styles/SampleApplication.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {
4444
Size
4545
} from 'yfiles'
4646

47-
import { bindCommand, showApp } from '../../resources/demo-app'
47+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app'
4848
import loadJson from '../../resources/load-json'
4949

5050
// @ts-ignore
@@ -260,4 +260,4 @@ function registerCommands(): void {
260260
}
261261

262262
// start tutorial
263-
loadJson().then(run)
263+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/05-label-placement/SampleApplication.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
SmartEdgeLabelModel
4646
} from 'yfiles'
4747

48-
import { bindCommand, showApp } from '../../resources/demo-app.js'
48+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app.js'
4949
import loadJson from '../../resources/load-json.js'
5050

5151
/** @type {GraphComponent} */
@@ -254,4 +254,4 @@ function registerCommands() {
254254
}
255255

256256
// start tutorial
257-
loadJson().then(run)
257+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/05-label-placement/SampleApplication.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
SmartEdgeLabelModel
4646
} from 'yfiles'
4747

48-
import { bindCommand, showApp } from '../../resources/demo-app'
48+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app'
4949
import loadJson from '../../resources/load-json'
5050

5151
// @ts-ignore
@@ -251,4 +251,4 @@ function registerCommands(): void {
251251
}
252252

253253
// start tutorial
254-
loadJson().then(run)
254+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/06-basic-interaction/SampleApplication.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import {
4242
Size
4343
} from 'yfiles'
4444

45-
import { bindCommand, showApp } from '../../resources/demo-app.js'
45+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app.js'
4646
import loadJson from '../../resources/load-json.js'
4747

4848
/** @type {GraphComponent} */
@@ -251,4 +251,4 @@ function registerCommands() {
251251
}
252252

253253
// start tutorial
254-
loadJson().then(run)
254+
loadJson().then(checkLicense).then(run)

demos/01-tutorial-getting-started/06-basic-interaction/SampleApplication.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import {
4242
Size
4343
} from 'yfiles'
4444

45-
import { bindCommand, showApp } from '../../resources/demo-app'
45+
import { bindCommand, checkLicense, showApp } from '../../resources/demo-app'
4646
import loadJson from '../../resources/load-json'
4747

4848
// @ts-ignore
@@ -248,4 +248,4 @@ function registerCommands(): void {
248248
}
249249

250250
// start tutorial
251-
loadJson().then(run)
251+
loadJson().then(checkLicense).then(run)

0 commit comments

Comments
 (0)