cytoscape / cytoscape.js-klay

The Klay layout algorithm for Cytoscape.js
MIT License
86 stars 41 forks source link

NodeLayering Interactive #28

Closed mattia85 closed 3 years ago

mattia85 commented 3 years ago

Hi, this's not an issue but i need more information about nodeLayering interactive. According with the documentation, the interactive layering should places nodes respecting the original positions of the node, so I added the initial position to each nodes but seems that this is ignored after running the layout. Could you please explain me how tell to the layout the initial position of the nodes?

This is my configuration

layoutOptions = {
    name: 'klay',
    padding: 50,
    animate: true,
    klay: {
      direction: 'RIGHT',
      nodeLayering: 'INTERACTIVE',
      nodePlacement: 'SIMPLE',
      compactComponents: true,
    },
  };

Thank you. Mattia

maxkfranz commented 3 years ago

This is just a wrapper to Klay. If you have questions or feedback about the Klay algorithm, you're welcome to get in touch with the authors of Klay and report back here.

Good luck with your project

stale[bot] commented 3 years ago

This issue has been automatically marked as stale, because it has not had activity within the past 30 days. It will be closed if no further activity occurs within the next 30 days. If a feature request is important to you, please consider making a pull request. Thank you for your contributions.