Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount(): void {
this.canvasRegister();
this.canvasOptions.on = this.onMessage;
this.topology = new Topology('topology-canvas', this.canvasOptions);
this.openData();
}