I searched the best I could but didn't find anything.
Is there a dashboard node that can take a JSON payload and create a tree browser? You know, with the + and - buttons to expand and collapse. Ideally it could "do something" when a particular attribute is selected either with additional buttons (Add/Remove) or drag and drop.
Basically I'm connecting to a MTConnect capable CNC and it provides a TON of attributes. I would like something better than using a text editor that can pretty the output to make it human readable and instead have a tree browser.
It's an HTTP request. I've already played around with it using debug nodes, but funnily enough, it's so long that it's truncated if I try to copy and paste out of the debug window.
I don’t know how your data looks like but if it is somehow structured to fit into a table you could perhaps use ui-table.
You can even use a tree view as long as you can sort your data into columns
The best example of an interactive JSON structure "tree" I can think of is the msg object view in the debug sidebar. Nick and the team have spent lots of hours getting that to be functional and very intuitive -- so how much effort would it take to wrap that into a stand-alone ui-debug or ui-tree node?
I wish I had the expertise to do it myself but I don't. I think this could be really cool to be able to browse (expand/collapse) and select objects with the tree and expose the ability to do something with the selected data.
Basically very similar to the way you can browse MQTT topics in MQTT Explorer.
Just for the records.
To use ui-table as a tree view the data has to be reformatted. All child rows are an array in _children as described here
You have to configure the table via msg.ui_control
It is important to set autoColumnsto false otherwise the _children column will be displayed. Then you have to configure the columns you like to see in the columns array. (perhaps you can use the ui-table config but I haven't tested it. Ui-table sets by default autoColumnsto `true.)