Skip to content

Commit

Permalink
Bump version and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
glesica committed Oct 21, 2021
1 parent 80276ea commit ffadf2c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ the PlantUML source in the `example/` directory.

**Install from pub:**

`pub global activate dcdg`
`dart pub global activate dcdg`

**Install from clone:**

`pub global activate -s path .`
`dart pub global activate -s path .`

## Usage

From inside a Dart package directory:

`pub global run dcdg`
`dart pub global run dcdg`

This will dump a PlantUML file to stdout. You can save it to a file
instead with the `-o` option.
Expand Down Expand Up @@ -60,3 +60,4 @@ Run the full test suite (including unit and functional tests) with
If you change the user interface or add features you should run `tool/docs.sh`
to regenerate documentation and other resources. This script requires
[PlantUML](https://plantuml.com/).

Binary file modified example/dcdg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions example/dcdg.puml
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,15 @@ class "dcdg::src::diagram_visitor.dart::DiagramVisitor" {
+void visitMethodElement()
}

"analyzer::dart::element::visitor.dart::RecursiveElementVisitor" <|-- "dcdg::src::diagram_visitor.dart::DiagramVisitor"

class "dcdg::src::class_element_collector.dart::ClassElementCollector" {
+Iterable<ClassElement> classElements
+void visitClassElement()
+void visitExportElement()
}

"analyzer::dart::element::visitor.dart::RecursiveElementVisitor" <|-- "dcdg::src::class_element_collector.dart::ClassElementCollector"


@enduml
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const version = '3.1.1';
const version = '4.0.0';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dcdg
description: A tool to automatically generate class diagrams (like UML) from a Dart package.
version: 3.1.1
version: 4.0.0
homepage: https://github.com/glesica/dcdg.dart
executables:
dcdg:
Expand Down

0 comments on commit ffadf2c

Please sign in to comment.