feat: introduce DURATION to visualization

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-05-06 09:42:13 +02:00
parent 966e1dd935
commit cb736602f8
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1,3 +1,5 @@
const DURATION = 500;
class Recorder {
constructor(graph) {
this.graph = graph;
@ -21,7 +23,7 @@ class Recorder {
.ease(d3.easeLinear)
.on("end", this.unblockRendering)
.delay(500)
.duration(1500)
.duration(DURATION)
);
}