I am having an issue with the extension because of a registration issue that recently came up and is preventing my cytoscape diagram from loading. Error is:
Can not register nodeHtmlLabel for core since nodeHtmlLabel already exists in the prototype and can not be overridden
I followed the instructions to register the extension on the ngInit() of my diagram as follows:
var nodeHtmlLabel = require('cytoscape-node-html-label');
nodeHtmlLabel(cytoscape);
I am not sure how to resolve. The extensions are registered when I load the component, but no matter what I try I am getting this error because it thinks it is already loaded. Is there a way to unregistered it so when it is registered again there will not be an issue? Can you offer a recommendation on how to resolve?
I am having an issue with the extension because of a registration issue that recently came up and is preventing my cytoscape diagram from loading. Error is:
Can not register
nodeHtmlLabel
forcore
sincenodeHtmlLabel
already exists in the prototype and can not be overriddenI followed the instructions to register the extension on the ngInit() of my diagram as follows:
var nodeHtmlLabel = require('cytoscape-node-html-label'); nodeHtmlLabel(cytoscape);
I am not sure how to resolve. The extensions are registered when I load the component, but no matter what I try I am getting this error because it thinks it is already loaded. Is there a way to unregistered it so when it is registered again there will not be an issue? Can you offer a recommendation on how to resolve?
Thank you