@ctaylor wrote:
I'm trying to render empty bands in a TreeLayout (actually a custom layout called BandedTreeLayout which inherits from TreeLayout). I need to be able to show all bands all the time, whether or not there are nodes in the band layer.
I found this topic (https://forum.nwoods.com/t/hoe-to-add-an-empty-band-to-the-layereddigraph/8203) where @walter said he had a solution for TreeLayout, but didn't post it. The posted solution for LayeredDigraphLayout doesn't work for me (it does what the image attached to that post shows - but it doesn't actually render empty bands, no matter what I change the nodeArray values to).
GoJS version: 1.7.26
Platform: Windows 10 (development machine).
Browsers: Chrome 62.0.3202.94 (64 bit), Firefox 57.0 (64-bit)
Posts: 5
Participants: 2