Skip to content

Commit a624f67

Browse files
committed
yFiles for HTML 3.0.0.2 demos
1 parent 2d318da commit a624f67

File tree

617 files changed

+4887
-2926
lines changed

Some content is hidden

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

617 files changed

+4887
-2926
lines changed

demos/README.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100
<div class="content-wide">
101101
<div id="general-intro">
102102
<p class="first-paragraph">
103-
The <a href="https://www.yfiles.com/the-yfiles-sdk/web/yfiles-for-html">yFiles for HTML 3.0.0.1</a> demo applications are available in
103+
The <a href="https://www.yfiles.com/the-yfiles-sdk/web/yfiles-for-html">yFiles for HTML 3.0.0.2</a> demo
104+
applications are available in
104105
both JavaScript and TypeScript.
105106
<span class="js-only"
106107
>Show <a href="../demos-ts/README.html">TypeScript Demos</a>.</span

demos/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
-->
1212
# yFiles for HTML Demo Applications
1313

14-
The [yFiles for HTML 3.0.0.1](https://www.yfiles.com/the-yfiles-sdk/web/yfiles-for-html) demos and tutorials are extensive sample applications that present the features of the yFiles for HTML diagramming library.
14+
The [yFiles for HTML 3.0.0.2](https://www.yfiles.com/the-yfiles-sdk/web/yfiles-for-html) demos and tutorials are extensive sample applications that present the features of the yFiles for HTML diagramming library.
1515

1616
The complete source code of all of these samples is part of the yFiles for HTML package and available at [Github](https://github.com/yWorks/yfiles-for-html-demos)
1717

demos/analysis/networkflows/HTMLPopupSupport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {
4444
* use relative positioning. This implementation uses a {@link ILabelModelParameter label model
4545
* parameter} to determine the position of the pop-up.
4646
*/
47-
export default class HTMLPopupSupport {
47+
export class HTMLPopupSupport {
4848
graphComponent
4949
div
5050
labelModelParameter

demos/analysis/networkflows/HTMLPopupSupport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
* use relative positioning. This implementation uses a {@link ILabelModelParameter label model
4646
* parameter} to determine the position of the pop-up.
4747
*/
48-
export default class HTMLPopupSupport {
48+
export class HTMLPopupSupport {
4949
private _currentItem: IModelItem | null
5050
private dirty: boolean
5151

demos/analysis/networkflows/NetworkFlowsDemo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import {
5757
Size,
5858
SmartEdgeLabelModel
5959
} from '@yfiles/yfiles'
60-
import HTMLPopupSupport from './HTMLPopupSupport'
60+
import { HTMLPopupSupport } from './HTMLPopupSupport'
6161
import { EmptyReshapeHandleProvider, NetworkFlowInputMode } from './NetworkFlowsHelper'
6262
import { MinCutLine, NetworkFlowEdgeStyle, NetworkFlowNodeStyle } from './DemoStyles'
6363
import { fetchLicense } from '@yfiles/demo-resources/fetch-license'

demos/analysis/networkflows/NetworkFlowsDemo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import {
5858
SmartEdgeLabelModel
5959
} from '@yfiles/yfiles'
6060

61-
import HTMLPopupSupport from './HTMLPopupSupport'
61+
import { HTMLPopupSupport } from './HTMLPopupSupport'
6262
import { EmptyReshapeHandleProvider, NetworkFlowInputMode } from './NetworkFlowsHelper'
6363
import { MinCutLine, NetworkFlowEdgeStyle, NetworkFlowNodeStyle } from './DemoStyles'
6464

demos/application-features/background-image/BackgroundImageDemo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ import {
4343
License,
4444
Size
4545
} from '@yfiles/yfiles'
46-
import RectangleVisualCreator from './RectangleVisualCreator'
47-
import ImageVisualCreator from './ImageVisualCreator'
46+
import { RectangleVisualCreator } from './RectangleVisualCreator'
47+
import { ImageVisualCreator } from './ImageVisualCreator'
4848
import { initDemoStyles } from '@yfiles/demo-resources/demo-styles'
4949
import { fetchLicense } from '@yfiles/demo-resources/fetch-license'
5050
import { finishLoading } from '@yfiles/demo-resources/demo-page'

demos/application-features/background-image/BackgroundImageDemo.ts

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

47-
import RectangleVisualCreator from './RectangleVisualCreator'
48-
import ImageVisualCreator from './ImageVisualCreator'
47+
import { RectangleVisualCreator } from './RectangleVisualCreator'
48+
import { ImageVisualCreator } from './ImageVisualCreator'
4949
import { initDemoStyles } from '@yfiles/demo-resources/demo-styles'
5050
import { fetchLicense } from '@yfiles/demo-resources/fetch-license'
5151
import { finishLoading } from '@yfiles/demo-resources/demo-page'

demos/application-features/background-image/ImageVisualCreator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
**
2828
***************************************************************************/
2929
import { BaseClass, IRenderContext, IVisualCreator, SvgVisual, Visual } from '@yfiles/yfiles'
30-
export default class ImageVisualCreator extends BaseClass(IVisualCreator) {
30+
export class ImageVisualCreator extends BaseClass(IVisualCreator) {
3131
/**
3232
* Creates the visual for the background.
3333
* @param context The context that describes where the visual will be used

demos/application-features/background-image/ImageVisualCreator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
***************************************************************************/
2929
import { BaseClass, IRenderContext, IVisualCreator, SvgVisual, Visual } from '@yfiles/yfiles'
3030

31-
export default class ImageVisualCreator extends BaseClass(IVisualCreator) {
31+
export class ImageVisualCreator extends BaseClass(IVisualCreator) {
3232
/**
3333
* Creates the visual for the background.
3434
* @param context The context that describes where the visual will be used

0 commit comments

Comments
 (0)