Just for info (if someone is interested):
I was able to fix some errors and enhance some functionality, so I will list the points here, I'm not ready to commit the files.
- fixed: clear selected nodes, works with several or all selected nodes (reason: two counting variables with the same name "i" where used in two nested loops)
- new: change node names (you can assign names to the nodes, these will be used as IDs if exported or re-imported to CPP (Arduino code)
- fixed: import merges imported nodes to existings ones, skipping nodes with the same name
- fixed: tooltips are now working, extracting the first paragraph of the HTML code
(Paul: TODO question is answered ...
solution in jQuery is easy)
Code:
var firstP = $("<div/>").append(data).children("p").first().html();
- new: nodes definition extracted to JSON file
- new: nodes help pages extracted to single HTML files
- new: form pages extracted to single HTML files
- new: asynchronous loading of JSON, help and form data, data will only be loaded when needed
- style: adapted the size of the palette, labels had been partially hidden
As I did hit the "revert" button in my IDE by mistake, I have to reinject the changes from my local history before I may commit them to Github and open a pull request. But if there's any feedback, I would be happy to know, because I don't want to fork a concurrent tool to Paul's solution, but provide some help in fixing problems and improving the tool.
All the best,
Manfred