With Lucidchart, you can now automatically generate class diagrams from your Bitbucket repos.
Learning a new code base has often required engineers to jump between files and read thousands of lines of text. Class diagrams make this process much more efficient—they provide an overview of software design that’s simple for engineers to scan and interpret quickly. However, no one has time to create and maintain these complex diagrams.
With the Class Diagrams by Lucidchart add-on for Bitbucket Cloud, users can quickly generate UML class diagrams from a code repository. These diagrams can be updated as you update your code. You can even click on pieces of the class diagram to jump to a specific part of your repo.
Our integration currently supports the following languages:
Follow these steps to install the Lucidchart add-on in Bitbucket:
- Go to your profile in Bitbucket on the bottom left.
- Click "Integrations."
- Search for the Lucidchart integration, which is called "Class Diagrams by Lucidchart."
- Once you install the integration, go to a repository.
- Click on the "Class Diagrams" option on the left side of your page.
- Click “Generate class diagram.” Refresh your page, and you’ll have your UML class diagram embedded on the page.
This is what you will see after you generate a class diagram:
Click on the pencil at the bottom left of your viewer to edit your diagram. These edits will only apply to the copy of your document, not the original document linked to your repo.
To save changes that you have made in your diagram, click “Update diagram.” You can also click the button next to this delete your diagram.
The different pieces of your class diagram will be linked to different parts of your repo in Bitbucket. If you click on one of the links, it’ll jump you over to the Bitbucket repo for the associated item.
To view your code repository, click “Source” in the menu on the left of your viewer.