graph.gl icon indicating copy to clipboard operation
graph.gl copied to clipboard

alignmentBaseline callback issue

Open immanuelf9 opened this issue 5 years ago • 0 comments

The alignmentBaseline property does not work when supplied a callback, but does work when supplied a text string. In the screenshot below the following do not produce the expected output: alignmentBaseline: edge => {return 'top'} alignmentBaseline: edge => { return (edge._data.isReverse ? 'top' : 'bottom') }

However this does alignmentBaseline: 'top'

Screen Shot 2020-07-16 at 4 50 44 PM

immanuelf9 avatar Jul 16 '20 20:07 immanuelf9