Hi all,
First two questions about the arbor layout:
- Why if you drag one node and drop it on another one, the entire network almost disappears except the edges? See attached image "possible-arbor-bug-1.jpg". This is the same error reported some days ago by Teresa Juan with subject "Arbor layout doesn't work properly with big networks (>150 nodes)".
- Also for the arbor layout, I've noticed that if "liveUpdate: false" and the zoom is modified at the "ready" function like this
ready: function() {
cy.zoom({
level: 0.1, // the zoom level
renderedPosition: { x: 0, y: 0 }
});
}
the entire network resizes itself after some seconds. Please see the attached image "possible-arbor-bug-2.jpg" and the code "zoom.html".
- Concerning the springy layout, I'm unable to use it. I'm getting the following error when starting a web page with this layout:
"Can not apply layout: No such layout '%s' found; did you include its JS file?"
I've checked the inclusion of both springy.js and springyui.js in my code and are present. See attached code: springy.html.
- Finally, I don't know how to change the style of one particular parent node. I mean, with this
.selector("$node > node") // compound (parent) node properties
.css({
'width': "auto",
'height': "auto",
'shape': "circle",
'border-width': 0,
'content': 'data(name)',
'font-weight': 'bold',
'text-valign': 'bottom',
'font-size': <?php print $cw_cmpnd_label_width; ?>
})
I can modify the style of ALL the parent nodes, but how to change only one?
Thanks!
Roger Olivella