Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save Position Update on export #10

Open
eperry opened this issue Oct 13, 2021 · 2 comments
Open

Save Position Update on export #10

eperry opened this issue Oct 13, 2021 · 2 comments
Assignees

Comments

@eperry
Copy link

eperry commented Oct 13, 2021

I am new to Cytoscape but this plugin while perfect for the purpose I need it for. I just hoping for 1 more feature (or If I am missing how to do it, let me know)

Saving the current style position.

For example. In NEO4J I can set a value of X, Y, and Z and then in the "Cystoscrape" I can use it to override and map the imported data in any position I want on the Viewer.

But when I export back to NEO4J it does not seem to save that piece of information.

As an example, when I use the "Export as Webpage" and look at the data there. I see in a separate block "Position"

 {
      "data" : {
        "id" : "6450",
        "_cytoscape_network" : "neo4j",
        "degree_layout" : 3,
        "_neo4j_labels" : [ "Application" ],
        "isExcludedFromPaths" : false,
        "shared_name" : "EDW",
        "name" : "EDW",
        "x" : "0",
        "isInPath" : false,
        "y" : "0",
        "SUID" : 6450,
        "z" : "0",
        "refid" : 508,
        "selected" : false,
        "connections" : [ "{ node: \"Some Node\", type: \"FLOW\" }" ]
      },
      "position" : {
        "x" : -971.9155760651538,
        "y" : -366.9311824308694
      },
      "selected" : false
    },```
@swarris
Copy link
Collaborator

swarris commented Nov 22, 2021

Thanks for the positive feedback! We are happy to hear that it really suits your need :-)
We have looked into your request and it should be doable. We will keep you posted!

@eperry
Copy link
Author

eperry commented Nov 30, 2021

Awesome thanks so much! I'll keep an ear out for the tasks and be glad to test it when you have a alpha version ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants