Commit 47f8b808 authored by Gabriel Gutu-Robu's avatar Gabriel Gutu-Robu

Minor fix in keywords demo

parent 51427505
......@@ -95,16 +95,15 @@ export class KeywordsComponent implements OnInit {
return;
}
this.myGraph = {
'nodeList': response.data.nodeList,
'edgeList': response.data.edgeList
const conceptGraph = {
nodeList: response.data.nodeList,
edgeList: response.data.edgeList,
};
this.twoModeGraphService.getGraph(this.myGraph).subscribe(
this.twoModeGraphService.getGraph(conceptGraph).subscribe(
graph => { this.myGraph = graph; },
error => { this.error = error.message; },
() => {
// this.readerbenchService.d3jsForTopics(this.graph, "#conceptMap", false);
}
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment