Leaf images
Overview
Label image provides the users for option to insert image for each tree branch label. The users can provide the URL for the image to be used in the dataset file. The file consist of:
- Leaf name
- src of the image. The default value is an test image from Evolview. The image source should be a working URL of the image.
Here is the Quick example:
Related modifiers
Supported Key-Value pairs
Key (case insensitive) | Value | Description |
---|---|---|
!showLeafLabel | 0 or 1 | Mandatory parameter. Show or hide the default leaf label names along with the images based on true or false flag. |
src | image source URL | Mandatory parameter. |
width | integer/number value | optional parameter to set size of the inserted image |
height | integer /number value | optional parameter to set size of the inserted image |
Tree
(A:0.1,(B:0.2,(C:0.3,D:0.4)100:0.05)100:0.1)90:0.43;
Example
Example 1
NOTE: when src is left empty, default image is used by Evolview.
!showLeafLabel 0
A src=https://evolgenius.info/pics/logo_.png
B src=
C src=https://evolgenius.info/pics/logo_.png
D src=
Example
Example 2
We support some default inbuilt images for testing and trial purposes. users can use these to check the insert image label option along with the trees.
!showLeafLabel 1
A src=1
B src=0
C src=2
D src=4
Example
Example 2
To hide the leaf label text , use !showLeafLabel identifier.
!showLeafLabel 0
A src=1
B src=0
C src=2
D src=4