commit | 1397c9242ea405bb92c0ca87208a7fd7697ee6db | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Thu Nov 30 12:29:45 2017 -0800 |
committer | Matteo Scandolo <teo@opennetworking.org> | Thu Nov 30 21:30:07 2017 +0000 |
tree | 91be07bdc219ad2514bd3c5f7e0555dc12bbafd8 | |
parent | 16cec70bfca8f2e09a27243a3210e1d3360c9281 [diff] [blame] |
[CORD-2324] Position the nodes not defined in the constraints Change-Id: I712a90828e0b6a12b31f62f7391feee64c123f2c (cherry picked from commit 35fdf249b31b003a163ee0582a77c91f15782587)
diff --git a/src/app/service-graph/components/graph/graph.component.ts b/src/app/service-graph/components/graph/graph.component.ts index 5769b6f..5f84384 100644 --- a/src/app/service-graph/components/graph/graph.component.ts +++ b/src/app/service-graph/components/graph/graph.component.ts
@@ -87,6 +87,10 @@ this.$log.info(`[XosServiceGraph] Received event: xos.sg.update`); this.renderGraph(this.graph); }); + + $(window).resize(() => { + this.renderGraph(this.graph); + }); } $onDestroy() {