I'm displaying nodes with 3 properties using a grass file. Everything is displaying, but I'd like a line feed between the properties displayed in the caption to get uniformity. Since the text length varies, the wrapping is inconsistent. I've tried , \n, \r but they just show up as text.
Ok, so I spent some time trying all the things I could think of but I was unable to cajole the neo4j browser to render a new line, I also observe this is a somewhat futile endeavor anyway, since the text is clipped by the circle. Note, sometime back I spent considerable time trying to disable that circle clipping behavior, and could not find a clean way around it. Today I render interesting graphs using a flask backend and render the graph with cytoscape.js in the UI. Both clipping and new lines are easier to deal with when using cytoscape.js.
If you really (really) want it in the neo4j browser, the code is open source
you could turn in a request to modify the browser capabilities in this regard
examine the code and find a way to get the browser to do what you want (might still be a tricksy way to escape/insert html formatting?)
clone the git and create your own version of the browser
Personally I have found that using cytoscape.js (or other viz library) is faster, easer and a more practical approach than those options though.
I looked at the html generated by the neo4j browser. The text to be displayed is inside a text tag, which is inside a g tag, which is inside an svg tag. However only the text that can fit is actually included inside the html, so it appears that you cannot trick the browser into displaying more than one line. The really weird thing is that I have seen some nodes where the text is displayed in two lines.