Browse Source

parseFloat of edges

flowchartTest
Alex de Mulder 9 years ago
parent
commit
85765f92a8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/network/modules/components/Edge.js

+ 1
- 1
lib/network/modules/components/Edge.js View File

@ -70,7 +70,7 @@ class Edge {
if (options.from !== undefined) {this.fromId = options.from;}
if (options.to !== undefined) {this.toId = options.to;}
if (options.title !== undefined) {this.title = options.title;}
if (options.value !== undefined) {options.value = parseInt(options.value);}
if (options.value !== undefined) {options.value = parseFloat(options.value);}
// update label Module

Loading…
Cancel
Save