shyaway

Quick Diagram Tool for C# 본문

Dev Tool

Quick Diagram Tool for C#

shyaway 2018. 7. 28. 09:46

Quick Diagram Tool For C#


I'm going to introduce an efficient Visualstudio extension tool, Quick Diagram Tool For C#; one of the code visualization tools out there. It's a light weight, easy to use utility for analyzing a framework and displaying the hierarchical structure of objects.



Installation

Click the 도구 ( Tool ) on top of the IDE and then you can see 확장 및 업데이트(U) ( extensions and update ). Click it.





Type Quick Diagram and search for it. You're gonna see Quick diagram tool for C# within a sec. Let's have it installed.







How to use

Rightclick on a class or an interface, whatever that you want to inspect.

    • Add to Quick Diagram
    • Add to Quick Diagram With Hierarchy

Then two articles above shows up at the bottom of the tooltip menu. Click ~ With Hierarchy one.





Then rendering goes on.








This is a result sheet. You can see the dot ● at the edge of the diagram box, that means it has some relations.







Zoom in and you will notice five interfaction elements in the box. The red X is for removing the box from the sheet, so please mercy me stating the obvious.



1. When you hover your mouse, a tooltip will be displayed. It shows the full namespace and the object's name.






2. Base types. It's the arrow on the left at the top, it tracks down this object's base types.







3. Implemented interfaces. It shows the interfaces this object is implementing.







4. Derived types. It's the arrow on the left at the bottom, it tracks down the derived types of this object.








5. Implementing types. It tracks down the implementing classes for this interface.







Now if you click on the implementing types arrow, it lists up the classes that implement this interface.






Click those listed items, then this tool renders those two like this below.







doubleclick on InMemoryScopeStore Diagram item automatically navigate you to the code.






This is sample hierarchical diagrams for IEnumerable. It's infinitely lined up like this.







Best for analyzing interfaces and base types

Interface and base type are the root elements of all applications, in most cases. I think these two elements are the first thing you should look into IMAO. You can just type : IEmptyInterface " this kind of things in the built-in search box in Visualstudio and see the results in the search result box but this is extremely readable with all the colors. boxes. arrows, and hierarchical structures. And you can get to know the relationships with another objects very easily by just hovering your mouse and clicking the box a few times. Plus, it's way more fun than searching.




To use in private network enviroment.

You can directly download vsix offline installer at Visual Studio Marketplace.



















'Dev Tool' 카테고리의 다른 글

Swagger CodeGen 을 이용한 JMeter Project 만들기  (0) 2018.05.08
Comments