For Dashboard Designers Reference yFilesView
Tuesday, April 16, 2019 6:30 PMYFilesView
Labels: :IA_Function:IA_YFilesView
Inherits from: Function and View
The YFilesView Function renders a visualisation of a graph using yFiles diagramming components.
Parameters
| Key | Description | Default value | Possible values | 
|---|---|---|---|
| autoCompleteStatus | Automatically retrieves missing relations between nodes. | false | true|false0|1 | 
| container.height | Sets the view height. | 1000 | Numeric | 
| container.width | Sets the view width. | 500 | Numeric | 
| layout | Sets the default layout type. | organic | organic, hierarchic, tree, orthogonal, circular, radial, seriesparallel, partial, singlecycle, recursiveshuffle, compactorthogonal, balloon, classictree, aspectratiotree | 
| layouts | Sets the list of the usable style types. | undefined | organic, hierarchic, tree, orthogonal, circular, radial, seriesparallel, partial, singlecycle, recursiveshuffle, compactorthogonal, balloon, classictree, aspectratiotree | 
| name | Name of the view. | ||
| showOverview | Displays overview box | false | true false | 
| store | Sets the default store for the NetworkView. | application | name of configured Neo4j store | 
Outgoing triggers
Type: nodeClick
Occurrence: When the user clicks a node.
Additional event properties (besides the inherited properties):
| Key | Description | Possible values | 
|---|---|---|
| data | The clicked node. | node object | 
| keyPressed | Map of keys that are pressed during the click. | object | 
| keyPressed.ctrl | Control button pressed during click. | true|false | 
| keyPressed.shift | Shift button pressed during click. | true|false | 
| keyPressed.meta | Meta button (Apple Command or Windows button) pressed during click | true|false | 
Type: nodeDoubleClick
Occurrence: When the user double-clicks a node.
Additional event properties (besides the inherited properties):
| Key | Description | Possible values | 
|---|---|---|
| data | The double-clicked node. | node object | 
| keyPressed | Map of keys that are pressed during the click. | object | 
| keyPressed.ctrl | Control button pressed during click. | true|false | 
| keyPressed.shift | Shift button pressed during click. | true|false | 
| keyPressed.meta | Meta button (Apple Command or Windows button) pressed during click | true|false | 
Type: relationClick
Occurrence: When the user clicks a relation.
Additional event properties (besides the inherited properties):
| Key | Description | Possible values | 
|---|---|---|
| data | The clicked relation | relation object | 
| keyPressed | Map of keys that are pressed during the click. | object | 
| keyPressed.ctrl | Control button pressed during click. | true|false | 
| keyPressed.shift | Shift button pressed during click. | true|false | 
| keyPressed.meta | Meta button (Apple Command or Windows button) pressed during click | true|false | 
Type: relationDoubleClick
Occurrence: When the user double-clicks a relation.
Additional event properties (besides the inherited properties):
| Key | Description | Possible values | 
|---|---|---|
| data | The double-clicked relation. | relation object | 
| keyPressed | Map of keys that are pressed during the click. | object | 
| keyPressed.ctrl | Control button pressed during click. | true|false | 
| keyPressed.shift | Shift button pressed during click. | true|false | 
| keyPressed.meta | Meta button (Apple Command or Windows button) pressed during click | true|false | 
Type: canvasClick
Occurrence: When the user clicks an empty space in the graph.
Additional event properties (besides the inherited properties):
| Key | Description | Possible values | 
|---|---|---|
| position | The clicked position | object {x: number, y: number} | 
| keyPressed | Map of keys that are pressed during the click. | object | 
| keyPressed.ctrl | Control button pressed during click. | true|false | 
| keyPressed.shift | Shift button pressed during click. | true|false | 
| keyPressed.meta | Meta button (Apple Command or Windows button) pressed during click | true|false | 
Type: canvasDoubleClick
Occurrence: When the user double-clicks an empty space in the graph.
Additional event properties (besides the inherited properties):
| Key | Description | Possible values | 
|---|---|---|
| position | The double-clicked position | object {x: number, y: number} | 
| keyPressed | Map of keys that are pressed during the click. | object | 
| keyPressed.ctrl | Control button pressed during click. | true|false | 
| keyPressed.shift | Shift button pressed during click. | true|false | 
| keyPressed.meta | Meta button (Apple Command or Windows button) pressed during click | true|false | 
Type: context
The following context menus are available from the NetworkView:
| Menu | Occurs when | Target value | 
|---|---|---|
| node | User right-clicks a node | Right-clicked node object | 
| relation | User right-clicks a relation | Right-clicked relation object | 
| canvas | User right-clicks an empty space | Position object {x: number, y: number} | 
More info on context menus.
 Graphileon Documentation
    Graphileon Documentation
     Graphileon.com
    Graphileon.com