Automated Class Diagrams

SmartDraw's Class Diagram data visualizer allows you to create a visual of your classes and their properties automatically by pointing it at a code repository. You can create a diagram using any local code file or a remote repository on Github.

The class diagram visualizer will work with C#, C, Java, JavaScript, Ruby and Python.

Watch the video to see how you can use the Class Diagram visualizer.

Open the Class Diagram Visualizer

Click the + icon to switch the SmartPanel into the Insert Content view.

Once on the Insert Content view, select the Add Data Visualizer section and click on Class Diagram.

Launch the class diagram visualizer

Select Your Repository

You'll be asked to choose whether you want to create a class diagram using a local repository or Github.

Choose repository

Authenticate with Github

  1. Choose the Github icon.
  2. Click Authenticate with Github.
  3. Follow Github prompts to log-in and allow SmartDraw to connect.
Authenticate github

Provide Repository Details

  1. Enter the repository owner's name
  2. Enter the repository name you want to visualize
  3. Click Load Source
Provide repository details

Select the Classes to Visualize

SmartDraw will parse your data and show you the classes it found in your code. You can now check the classes you want to visualize and then click Import to generate your diagram.

Class selection

For a Local Repository

  1. Click the Local Icon to start.
  2. Locate the local repository you want to visualize and select a code file and drag and drop it to the dialog.
  3. Click Show Classes to parse code file for classes.
  4. Once your file is parsed, click the check box next to any classes you want to include in your diagram.
Class diagram from a local repository

When you're ready, click Import to draw your class diagram automatically.

The generated class diagram will work like any other SmartDraw diagram. You can edit it as needed.

Class diagram
By continuing to use the website, you consent to the use of cookies.   Read More