All Projects → rsoesemann → salesforce-plantuml

rsoesemann / salesforce-plantuml

Licence: MIT License
Salesforce app to generate UML class & ER-diagrams from your org data. Leverages the PlantUML library.

Programming Languages

javascript
184084 projects - #8 most used programming language
Apex
172 projects
shell
77523 projects

Projects that are alternatives of or similar to salesforce-plantuml

ApexTriggerHandler
Another library implements Apex trigger handler design pattern.
Stars: ✭ 40 (-55.06%)
Mutual labels:  salesforce, apex
apex-utils
Utility classes for Salesforce Apex development
Stars: ✭ 20 (-77.53%)
Mutual labels:  salesforce, apex
Apex-Code-Conventions
Apex conventions and best practices for Salesforce Developers
Stars: ✭ 28 (-68.54%)
Mutual labels:  salesforce, apex
sf-cross-cutting-concerns
Apex Cross cutting concerns for Salesforce
Stars: ✭ 29 (-67.42%)
Mutual labels:  salesforce, apex
dcdg.dart
Dart Class Diagram Generator
Stars: ✭ 98 (+10.11%)
Mutual labels:  plantuml, uml-diagram
apex-tmLanguage
Salesforce Apex Language syntax grammar used for colorization
Stars: ✭ 27 (-69.66%)
Mutual labels:  salesforce, apex
lwc-modules
Build any LWC you want without ever having to touch Apex
Stars: ✭ 20 (-77.53%)
Mutual labels:  salesforce, apex
ApexCallouts
A lightweight Apex library for making HTTP callouts. Works with remote site settings and named credentials.
Stars: ✭ 32 (-64.04%)
Mutual labels:  salesforce, apex
apex-graphql-query
A library for building GraphQL queries in apex
Stars: ✭ 31 (-65.17%)
Mutual labels:  salesforce, apex
SFDCRules
Simple yet powerful Rule Engine for Salesforce - SFDCRules
Stars: ✭ 38 (-57.3%)
Mutual labels:  salesforce, apex
fast-sfdc
A VSCode plugin to develop Salesforce projects in vscode
Stars: ✭ 16 (-82.02%)
Mutual labels:  salesforce, apex
apex-query-builder
Convenient query builder for dynamic SOQL queries
Stars: ✭ 37 (-58.43%)
Mutual labels:  salesforce, apex
swagger2puml
Generate Class Diagrams (UML) for Given Swagger Definition
Stars: ✭ 43 (-51.69%)
Mutual labels:  plantuml, uml-diagram
PlantUml-Language-Service
PlantUml Language Service extension for Visual Studio 2017 and 2019
Stars: ✭ 24 (-73.03%)
Mutual labels:  plantuml, uml-diagram
R.apex
Functional utility library for Apex
Stars: ✭ 80 (-10.11%)
Mutual labels:  salesforce, apex
apex-dml-mocking
DML mocking, CRUD mocking, dependency injection framework for Salesforce.com (SFDC) using Apex
Stars: ✭ 38 (-57.3%)
Mutual labels:  salesforce, apex
dreaminvest-lwc
Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Financial services use case. Get inspired and learn best practices.
Stars: ✭ 41 (-53.93%)
Mutual labels:  salesforce, apex
timeline-component-lwc
This component enables timeline view for Salesforce Record history.
Stars: ✭ 18 (-79.78%)
Mutual labels:  salesforce, apex
PlantUML-colors
This script is to show all named color suggested by PlantUML
Stars: ✭ 52 (-41.57%)
Mutual labels:  plantuml, uml-diagram
mkdocs build plantuml
MkDocs plugin to help generate your plantuml images locally or remotely as files (NOT inline)
Stars: ✭ 31 (-65.17%)
Mutual labels:  plantuml, uml-diagram

PlantUML diagram generator for Salesforce orgs

SalesforcePlantUML is a native Force.com application that renders UML class diagrams for a given set of Apex classes or SObjects. The diagrams are rendered by an external declarative UML service / library called PlantUML.

PlantUML is a free and open source UML tool for drawing UML diagrams from a simple and human readable text description. It ca be used as a stand-alone application or can be used from many different IDEs.[1] Dependencies for PlantUML are a Java virtual machine and an installation of Graphviz. To create the UML diagrams, PlantUML has a meta-language defined that allows the diagram creator to describe the UML as a series of text statements which the graphics engine translates into standard UML notation. The graphics engine is written in Java and is distributed in both JAR and source code form. [2]

All the information required to render such diagrams is extracted via Apex code and very ugly ;) and unstable Regular Expressions. This should definitely be replace by code that uses the new Tooling API. Feel free to collaborate.

Deploy to Salesforce

/apex/erdCreator page

This page render a UML class diagram that show standard and custom SObjects, their fields for a given permission set and related metadata (e.g. pages and triggers)

  1. Open page YOUR_ORG_URL/apex/erdCreator
  2. Select SObjects (If you choose too many or too complex classes you might get Limit errors.) 3 Choose some options
  3. Wait! (IMPORTANT as the main work is done in Javascript and on a very slow server)

and for SObjects including field permissions and related metadata (pages, trigger,...)

Page /apex/erdCreator

/apex/classDiagramCreator page

This page renders a UML class diagram that show classes, their attribute, methods, inner classes and relations to other classes. It also calculates basic complexity metrics like LOC and Cyclomatic complexity.

  1. Open page YOUR_ORG_URL/apex/classDiagramCreator
  2. Select classes (If you choose too many or too complex classes you might get Limit errors.) 3 Choose some options
  3. Wait! (IMPORTANT as the main work is done in Javascript and on a very slow server)

Page /apex/classDiagramCreator

Third-party Code

This app makes use of third-party components also hosted on GitHub:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].