Jump to content

Visualizing dependencies between LabVIEW classes


Recommended Posts

Hey guys,

 

I updated the tool based on some feedback from John Lokanis, I'd be interested in hearing your feedback, especially on how to host the VIP.  I put the VIP on my blogsite as an experiment to see if I could drive traffic up but I know its not the proper place for it.

 

http://www.labviewcraftsmen.com/blog/labview-class-dependency-viewer-part-2

 

Thanks

Jon

  • Like 1
Link to post
Share on other sites

I'd be interested in hearing your feedback, especially on how to host the VIP.

You're welcome to do what you want with your contribution to the community, but I generally recommend code be posted in the Code Repository here on LAVA.  This has version tracking, it generates a new thread for submitted code, so user discussion can be linked to the code posted, and a few other benefits like download number tracking, etc.

 

Generally you post it as uncertified then if interest level (and time) permit it is updated to certified.  Here's another link on how to submit code.

 

https://lavag.org/topic/10351-how-to-submit-code-to-the-code-repository/

https://lavag.org/topic/10350-how-does-the-code-repository-work/

  • Like 2
Link to post
Share on other sites
  • 1 month later...

Truly amazing tool. I now have a very visual way to explain the impact of my code refactorization. Jon, where can we find the legend about the colors and shapes for the force diagram and dependency wheel? Also, I originally thought the shape of the leaves on the dependency wheels indicated the direction of the dependency, but it now seems to me that it only depends on the size the libraries takes on the wheel.

post-14511-0-14145800-1456965412.png

Edited by Manudelavega
Link to post
Share on other sites

I originally thought the shape of the leaves on the dependency wheels indicated the direction of the dependency, but it now seems to me that it only depends on the size the libraries takes on the wheel.

 

The pointy end of the ribbon (or "leaf") connects to the dependency.

 

3830627_orig.gif

Link to post
Share on other sites

That looks like the kind of red flag this graph is intended to show. Find the ribbons without pointy tips and fix your dependency chains so they all have pointy tips again!

 

Edit: Also, a good rule-of-thumb is not to nest libraries (or classes within libraries). It slows the editor down badly and creates dependency hells like the one you have there.

Edited by Stobber
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.