Just say I have a d3-force simulation, and I add some forces like this:
const simulation = d3
.forceSimulation()
.nodes(dots)
.force("charge", d3.forceManyBody())
.force("link", d3.forceLink(links))
.force("center", d3.forceCenter());
.on("tick", tick)
Is it possible to list all those forces? Something like a simulation.getForces() method for instance? And have it return ["charge", "link", "center"].