Closed burner1024 closed 1 year ago
In this example, does not look like nodeDimensionsIncludeLabels
is true but in any case, with such a dense graph node overlaps will be unavoidable. The only thing that might help is increasing the idealEdgeLength
option.
I'm talking about the right side, all the free nodes. I don't think edge length would have any effect on that anyway?
@burner1024 Please see this example where nodeDimensionsIncludeLabels
option works.
It appears so. I will re-check, thank you.
My bad, I passed layout option to original cytoscape invocation, then ran it separately.
options = {...}
const cy = cytoscape({
layout: {
name: "fcose",
},
...
};
cy.layout(options).run()
Shouldn't have passed layout arg to cytoscape. Looks like it ran the algorithm with default options.
Thanks again.
Even
nodeDimensionsIncludeLabels: true
doesn't help: