Hi Andrico,
I am a part-time physics teacher in a secondary school (kid ages 13 - 16) and part-time freelance developer of web applications. I really like this library, so much that I was working on an application using this lib. Now I am using this application in my school as experiment. It is working very well so I am thinking about ways to earn coin.
https://skilltree-b6bba.firebaseapp.com/
I wanted to share the link to this application with you because your library was the main inspiration and made it possible to make it. Also I found some smaller and bigger issues with the library:
Node title class
Can you provide a way to add a class to the node title? Right now I have managed to style it by diving into the source code, but the CSS library Bulma has default override for h1 styling.
Theming options
Node desktop width: if you set this larger (or smaller) it will cause the lines to split or overlap.
![Schermafbeelding 2020-02-16 om 11 29 15](https://user-images.githubusercontent.com/46277832/74603068-bbe3f880-50af-11ea-92ae-6319b31a83f1.png)
Heading font: The number of skills in the heading of the skill tree, seem to be set by the font selected as Node Font and not Heading Font. As you can see in the screenshot below, I have set the heading font to Roboto and the node font to Raleway. The skill count is displayed in Raleway font.
![Schermafbeelding 2020-02-16 om 11 33 21](https://user-images.githubusercontent.com/46277832/74603101-2ac15180-50b0-11ea-95d4-bd7dd2af05b7.png)
Heading font color and size: Changing these values does not have any effect. I am able to set the heading font color by changing the node font color.
Saving the completed state
It would be nice if in the handleSave(
storage: ContextStorage,
treeId: string,
skills: SavedDataType,
) method you also provide access to the number of completed skills and the total number of skills (for all skilltrees in the group) as you are giving them already in the Skilltree Group.
These data are very helpful when trying to update progress bars for the students. Right now I have implemented this with getting textContent from the skilltree group.