Has anyone ever used cytoscape.js? how many values does layout.name have?

background:
the diagram that implements the requirements using cytoscape.js has been implemented. When I look back and sum up, I still find that cytoscape.js has many attributes. I still don"t know
question:

cytoscape.jslayoutnameechartsseries[i].type:
layout: {
    name: "cose",
    //:breadthfirst()cose()preset()circle()grid()
}

excuse me: does anyone have any documentation for this? or which script is similar to the other scripts, tell me the value list, of other scripts and I"ll put it to try the effect, or you can summarize it blindly.
and when I set name to preset, all the nodes overlap. Is there any attribute, such as the repel distance between node and node, that repels them?


:'breadthfirst', 'circle', 'concentric', 'cose', 'grid','null', 'preset', 'random'

it is recommended to read the source code
https://github.com/cytoscape/.

Menu