Jump to content

spy.assets.Tree


Ruby Han

Recommended Posts

Hello,

I was referencing the spy documentations and found this (I think it was in one of the spy.assets module). May I know what open source libraries Seeq is using to generate the tree visualization show below? Or was that made from scratch within Seeq?
image.png.4f470ef39191c496725cfe14edae9996.png

Thank you,

Ruby Han

Link to comment
Share on other sites

Hi Ruby,

I'm the author of this particular section of code. Outside of pandas, the library used to keep track of all data in SPy, the visualization function does not use any open source libraries, and the printed tree structure is made from scratch. I found that most available tree visualization libraries were either too specific or too general in their intended use, and it was simpler to write this from scratch.

If you are looking to write something similar for your own purposes, I found this Stack Overflow thread describing how to do an equivalent thing in the context of file trees.

Best,

Craig

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...