feat: introduce DURATION
to visualization
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
966e1dd935
commit
cb736602f8
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
const DURATION = 500;
|
||||||
|
|
||||||
class Recorder {
|
class Recorder {
|
||||||
constructor(graph) {
|
constructor(graph) {
|
||||||
this.graph = graph;
|
this.graph = graph;
|
||||||
|
@ -21,7 +23,7 @@ class Recorder {
|
||||||
.ease(d3.easeLinear)
|
.ease(d3.easeLinear)
|
||||||
.on("end", this.unblockRendering)
|
.on("end", this.unblockRendering)
|
||||||
.delay(500)
|
.delay(500)
|
||||||
.duration(1500)
|
.duration(DURATION)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue