Closed PButcher closed 4 years ago
Found the solution. The defaults for the stylesheet
prop include the following line:
label: 'data(label)'
Including that line in my node definition fixed the issue.
That should be put in documentation, I spent so much time around this (non) issue!
Whenever I include the
stylesheet
prop, node labels do not show. Is this expected behaviour?Here's a quick example using some code from the examples in the repo's README:
The node labels do not appear. Removing the
stylesheet
prop results in the node labels reappearing. This issue is visible in a number of screenshots/gifs from various issues on this repo, although no one has mentioned it.