How to traverse nodes in a tree and get their properties?

Hi, I’m trying to get the level of some nodes in a tree. I’m retrieving them with:
nodes = diagram.findNodesByExample(…);

But then if I try to traverse them, I can not understand anything, it seems like this API is obfuscating every single method or property, and it’s a shame because if I can not understand the properties I will have to discard this api, that is really good

To get the level in a tree of a Node, call

The library is minified to save a lot of space. You should only be depending on the documented API,