You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loader as well as some visualizations initialize the graph as follows:
new Graph(this.graphOptions, this.config.Node, this.config.Edge, this.config.Label);
However, some visualizations leave out the Label:
this.graph = new Graph(this.graphOptions, this.config.Node, this.config.Edge);
This leads to errors like "TypeError: prefixConfig is undefined" in getDataInternal. If the loader is used, the graph is correctly initialized, so this error is masked. However, if one attempts to add nodes programmatically, the error occurs. Changing the initialization in the respective visualization to include the this.config.Label fixes the issue.
The text was updated successfully, but these errors were encountered:
The loader as well as some visualizations initialize the graph as follows:
However, some visualizations leave out the Label:
This leads to errors like "TypeError: prefixConfig is undefined" in getDataInternal. If the loader is used, the graph is correctly initialized, so this error is masked. However, if one attempts to add nodes programmatically, the error occurs. Changing the initialization in the respective visualization to include the this.config.Label fixes the issue.
The text was updated successfully, but these errors were encountered: