Prevent layouts from touching background?


We required functionality to centre/tile/stretch background images so i implemented this via an extra JGoLayer (to which we add potentially several JGoImage objects).

The problem now though is that the digraph layout algorithm is trying to lay out the jgoimage background objects.

Is there a way to mark any JGoObject (or perhaps the layer) to be excluded from layout algorithms?


OK i figured out that if i create a JGoNetwork object and exclude the background image objects then it works.

If there is a better way than that, please let me know.

Yes, that’s the right way to do it.