[Rt-commit] rt branch, 4.6/lifecycle-ui-dev, repushed
Craig Kaiser
craig at bestpractical.com
Wed Nov 13 16:34:26 EST 2019
The branch 4.6/lifecycle-ui-dev was deleted and repushed:
was 975a3a746295869ac85df22c1d8325fb578d8966
now db4a3b570bb07b709ae6b9ac0afe01c79a2cca35
1: a3322439cb ! 1: 86f8aa51f6 Core Lifecycle-UI
@@ -1748,7 +1748,8 @@
+
+ self.RenderLink();
+ self.RenderNode();
-+ self.simulation.alpha(0.5).restart();
++ // This is our "cooling" factor
++ self.simulation.alpha(0.05).restart();
+ }
+
+ SelectNode(node) {
@@ -1833,9 +1834,11 @@
+ self.nodes = [];
+
+ jQuery.each(['initial', 'active', 'inactive'], function (i, type) {
-+ config[type].forEach(element => {
-+ self.nodes = self.nodes.concat({id: ++self.nodes_seq, name: element, type: type});
-+ });
++ if ( config[type] ) {
++ config[type].forEach(element => {
++ self.nodes = self.nodes.concat({id: ++self.nodes_seq, name: element, type: type});
++ });
++ }
+ });
+ }
+
@@ -1976,7 +1979,7 @@
+ });
+
+ // Grab our links
-+ config.transitions[""] = self.config.transitions[""];
++ config.transitions[""] = self.config.transitions ? self.config.transitions[""]: [];
+
+ self.nodes.forEach(source => {
+ var links = self.LinksForNode(source);
2: 975a3a7462 = 2: db4a3b570b Temp
More information about the rt-commit
mailing list