[Rt-commit] rt branch, 4.6/lifecycle-ui-dev, repushed

Craig Kaiser craig at bestpractical.com
Tue Dec 3 12:28:45 EST 2019


The branch 4.6/lifecycle-ui-dev was deleted and repushed:
       was b9777c05465ddb1a6c5f1c7342f585c5d73dc419
       now 69448e40f2d4b6b34846128d94c41438e2ff8c36

1: b9777c0546 ! 1: 69448e40f2 Core Lifecycle-UI
    @@ -1524,8 +1524,8 @@
     +            super("LifecycleModel");
     +
     +            var self         = this;
    -+            self.width       = 960;
    -+            self.height      = 300;
    ++            self.width       = 900;
    ++            self.height      = 500;
     +            self.node_radius = 35;
     +
     +            jQuery("#SaveNode").click(function( event ) {
    @@ -1535,7 +1535,7 @@
     +
     +            self.svg      = d3.select(container).select('svg')
     +                .attr("preserveAspectRatio", "xMinYMin meet")
    -+                .attr("viewBox", "0 0 960 300");
    ++                .attr("viewBox", "0 0 900 500");
     +
     +            self.config   = config;
     +            self.links    = [];
    @@ -1566,9 +1566,12 @@
     +            });
     +
     +            self.simulation = d3.forceSimulation()
    -+                .force("link", d3.forceLink().distance(220).strength(0.2))
    -+                .force("charge", d3.forceManyBody())
    -+                .force("center", d3.forceCenter(self.width / 2, self.height / 2));
    ++                .force("link", d3.forceLink().distance(350).strength(0.2))
    ++                .force("charge", d3.forceManyBody().strength(-400))
    ++                .force("center", d3.forceCenter(self.width / 2, self.height / 2))
    ++                .force('collision', d3.forceCollide().radius(function(d) {
    ++                    return d.radius
    ++                  }));
     +
     +            self.SetUp();
     +            self.RenderNode();



More information about the rt-commit mailing list