NovatecConsulting / novatec-service-dependency-graph-panel

A Grafana panel for visualizing a Service Dependency Graph.
Apache License 2.0
191 stars 64 forks source link

[Question] - Can we set the animation to autoplay after page load? #98

Open CrashLaker opened 2 years ago

CrashLaker commented 2 years ago

Write your question here I'm wondering if we could set the graph animation to autoplay on page load?

image

Screenshots

Where and how could we improve the readme?

CrashLaker commented 2 years ago

well... this works..

image

// adjust postition
document.querySelector('.service-dependency-graph').querySelector('.zoom-button-container').children[2].click()
// play
document.querySelector('.service-dependency-graph').querySelector('.zoom-button-container').children[0].click()
atlanteh commented 2 years ago

We need this too!