Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
We are about to commit an important modification of label management for the Tulip 3.5.0.release
- Bitmap labels and texture labels will be removed, we will only support 3D labels.
- The new labels will be scalable/or not that means they will be scale inside the node or not.
- Using that it will be possible to have a behaviour closed to the previous bitmap mode.
- Furhtermore, it will be possible to turn on/off the label occlusion test and that test will
works in scale or not scale mode.
It seems that this change will ease a lot of Tulip user, however if there is officianados of the bitmap (I am) mode
let us know.
Label position management:
In order to keep the possibility to place labels at center/top/left/right/bottom, In scale mode we will use the textIncludedBoundedBoxes
return by each glyph.
That functionnality ease implementation of special glyph,(for instance the labels in the window glyph used for squarified treemap visualization)
Default position will be implemented thus existing glyph won't be affected (just need to recompile) by that modification.
I didn't see this discussion before I posted a feature request on it.
So how can we (simply, i.e. just in Tulip's interface if possible) simulate the bitmap mode?
I'm happy to see that I'm not the only guy that like the previous tulip labels :-).
To re-integrate the feautre I propose to add a new functionnality in the label rendering engine:
When we are not in scale mode, we can set the minimum display size of labels and the maximum size of displayed labels in the screen space (in pixel). Like that if the min is set to 10pix and the max to 30px, when I zoom out the label size will be decrease until they reach a size of 10px (and they will keep that size). If I zoom in the label will increase until they reach a size of 30px.
If the user set the min to 0 and the max to +inf the system will work as it is working now. If the user set the min to 12 and the max to 12 the system will work like the previous tulip engine. We can easily add in the HCI the possibilty to change the min and max.
What do you think about that.
Just to site my source, that idea comes from a discussion with F. Van Ham in London :) several years ago.
That new labeling method as be comitted today. There is some bugs (of course) but it seems to be exactly what we needed.
Hope it wil do what you needs.