Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1186f503

Přidáno uživatelem Pavel Fidranský před asi 6 roky(ů)

fix #21: unique ID of a node is obtained using ES6 getter method

Zobrazit rozdíly:

sources/src/main/webapp/js/services/graphExporter.js
7 7
		let excludedNodeList = app.sidebarComponent.excludedNodeListComponent.nodeList;
8 8
		let sideBar = excludedNodeList.map(node => {
9 9
			return {
10
				id: Utils.getUniqueId(node),
10
				id: node.uniqueId,
11 11
				isIconsDisplayed: node.isIconsDisplayed,
12 12
			};
13 13
		});
......
24 24
			possibleEnumValues: app.possibleEnumValues,
25 25
			groups: app.groupList.map(group => group.export()),
26 26
			sideBar: sideBar,
27
			highlightedVertex: Utils.isUndefined(highlightedVertex) ? '' : Utils.getUniqueId(highlightedVertex),
27
			highlightedVertex: Utils.isUndefined(highlightedVertex) ? '' : highlightedVertex.uniqueId,
28 28
			highlightedEdge: Utils.isUndefined(highlightedEdge) ? '' : highlightedEdge.id,
29 29
		};
30 30
	}

Také k dispozici: Unified diff