Question: Is there a way to bind a property to a function that identifies if a node has inbound or outbound links?
My use-case is that I wish to vary the margin on a part depending on whether there is a link coming in to the node. In other scenarios, I could want to change a fill color if links are present, etc.
I understand that the .ofObject() parameter can be added to binding functions but what would I test inside the binding function in order to recognise links were present ? I looked for hasToLinks, and toLinkCount but neither was available in the docs.