Skip to content
Snippets Groups Projects
Commit a62bb0b2 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Fixed restart to actually reload the graph #1

parent 29b4dc47
No related branches found
No related tags found
No related merge requests found
Pipeline #51631 passed
......@@ -63,19 +63,9 @@ export class Graph extends ManagedData {
if (this.graphRenderer !== undefined) {
this.graphRenderer.graphData(this.getCleanData(this.data, false));
this.data = Graph.addIdentifiers(this.getCleanData(this.data, false));
this.triggerOnChange();
}
// this.onChangeCallbacks.forEach((fn) => fn(this.getCleanData(this.data, false)));
// if (this.graphRenderer !== undefined) {
// this.data[GRAPH_NODES].forEach((n) => {
// n.x /= 10;
// n.y /= 10;
// n.fx = undefined;
// n.fy = undefined;
// });
// this.graphRenderer.d3ReheatSimulation();
// }
// Deactivate physics after a short delay
this.physicsStopTimeoutId = setTimeout(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment