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
I'm adding nodes in the "created" hook of VUE after an API call.
I execute the:
this.$refs.cyRef.instance.layout({
name: 'breadthfirst',
avoidOverlap: true, // prevents node overlap, may overflow boundingBox if not enough space
directed: true,
}).run();
this.$refs.cyRef.instance.resize();
right after the last node added but nothing happens
If I add a new node through a button and reapply the layout I get the layout applyed, but at the "created" the nodes are all piled up in the same spot.
How is possible to make cytoscape react to the population of nodes coming up from API at the start of a page?
The text was updated successfully, but these errors were encountered:
I'm adding nodes in the "created" hook of VUE after an API call.
I execute the:
right after the last node added but nothing happens
If I add a new node through a button and reapply the layout I get the layout applyed, but at the "created" the nodes are all piled up in the same spot.
How is possible to make cytoscape react to the population of nodes coming up from API at the start of a page?
The text was updated successfully, but these errors were encountered: