Repository: qpid-dispatch Updated Branches: refs/heads/master 40a00fc3c -> f67377c99
DISPATCH-1166 Fix traffic animation on console's topology page Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/f67377c9 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/f67377c9 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/f67377c9 Branch: refs/heads/master Commit: f67377c999bd7e20044228a1f61e67562f34937a Parents: 40a00fc Author: Ernest Allen <[email protected]> Authored: Mon Nov 5 06:59:38 2018 -0500 Committer: Ernest Allen <[email protected]> Committed: Mon Nov 5 06:59:38 2018 -0500 ---------------------------------------------------------------------- console/stand-alone/plugin/js/topology/qdrTopology.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/f67377c9/console/stand-alone/plugin/js/topology/qdrTopology.js ---------------------------------------------------------------------- diff --git a/console/stand-alone/plugin/js/topology/qdrTopology.js b/console/stand-alone/plugin/js/topology/qdrTopology.js index fc9f6e6..eeb4496 100644 --- a/console/stand-alone/plugin/js/topology/qdrTopology.js +++ b/console/stand-alone/plugin/js/topology/qdrTopology.js @@ -447,10 +447,7 @@ export class TopologyController { circle.call(force.drag); // path (link) group - path = path.data(links.links, function(d) {return d.uid;}) - .attr('id', function (d) { - return ['path', d.source.index, d.target.index].join('-'); - }); + path = path.data(links.links, function(d) {return d.uid;}); // update existing links path.selectAll('.link') @@ -513,6 +510,9 @@ export class TopologyController { }) .attr('marker-start', function(d) { return d.left ? `url(${urlPrefix}#start${d.markerId(d)})` : null; + }) + .attr('id', function (d) { + return ['path', d.source.index, d.target.index].join('-'); }); enterpath.append('path') --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
