You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not work at all to set the shape of parent nodes .
Environment info
Browser and version: chrome 59.0.3071.115
Node version (if running headless): v6.10.2
Cytoscape.js version: v3.1.2
Current behavior
The code goes in the way:
{
selector: ':parent',
style: {
'shape':'ellipse',
'background-image': TMP,
'background-color':'#f6f6f5',
'border-width': 0,
'content': ''
}
}
I want to change the shape of all the parent nodes, but whatever I set the shape property ,it remains rectangle .
Desired behavior
I want the shape of all the parent nodes to be ellipse.
Minimum steps to reproduce
Eager for answers! Thank you ~
The text was updated successfully, but these errors were encountered:
You can only use rectangle shapes, because a parent's dimensions are defined by the bounding box of the children. rectangle, roundrectangle, and cutrectangle work.
I'm submitting a:
It does not work at all to set the shape of parent nodes .
Environment info
Current behavior
The code goes in the way:
{
selector: ':parent',
style: {
'shape':'ellipse',
'background-image': TMP,
'background-color':'#f6f6f5',
'border-width': 0,
'content': ''
}
}
I want to change the shape of all the parent nodes, but whatever I set the shape property ,it remains rectangle .
Desired behavior
I want the shape of all the parent nodes to be ellipse.
Minimum steps to reproduce
Eager for answers! Thank you ~
The text was updated successfully, but these errors were encountered: