cytoscape / wineandcheesemap

http://www.wineandcheesemap.com/
MIT License
80 stars 51 forks source link

JSON node position #2

Closed RK-Veltec closed 6 years ago

RK-Veltec commented 6 years ago

Hello there. I'm trying to adapt the Wine and Cheese demo for a different application. What I want to know is how I can proper position the nodes. How were the values of the original json generated? It was using Cytoscape desktop?

The difference between how my app works is that I'm trying to plot a structure that's more a tree than a graph, so its tricky to place the nodes on the canvas.

babycannotsay commented 5 years ago

hi, how did you finally generate the position?

babycannotsay commented 5 years ago

@maxkfranz data.json how are the elements->nodes->position generated here?

RK-Veltec commented 5 years ago

I believe they were adjusted using Cytoscape desktop, @babycannotsay

babycannotsay commented 5 years ago

thanks for you

gbader commented 5 years ago

Yes, I can confirm that the wine and cheese network was constructed with a mix of automated and manual layout in the Cytoscape desktop application and then exported to work with cytoscape.js.