Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softwareking/halo-plantuml
https://github.com/softwareking/halo-plantuml
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/softwareking/halo-plantuml
- Owner: SoftwareKing
- Created: 2020-04-05T07:45:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-20T22:44:36.000Z (over 2 years ago)
- Last Synced: 2023-03-01T02:17:25.003Z (over 1 year ago)
- Language: Kotlin
- Size: 447 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# halo-plantuml
## 示例脚本
```
@startuml
!includeurl https://raw.githubusercontent.com/xuanye/plantuml-style-c4/master/core.puml
skinparam linetype ortho
skinparam rectangle {
roundCorner 100
}
'!@Sketch
package plantUMLDDD <> #8B9BAC{
class LocationShared <<(V,#148610) ValueObject>> #861F1B {}
hide LocationShared membersclass DeliverySpecification <<(V,#148610) ValueObject>> #861F1B {}
hide DeliverySpecification membersclass CargoRepository <<(R,#e2b8b8)Repository>> #FFFFFF {}
hide CargoRepository membersclass LocationService <<(D,#AF1603) DomainService>> #544E15 {}
hide LocationService membersclass CustomerShared <<(V,#148610) ValueObject>> #861F1B {}
hide CustomerShared membersclass HandlingEvent <<(E,#FF7700)Entity>> #8ED4D1 {}
hide HandlingEvent membersclass CarrierMovement <<(E,#FF7700)Entity>> #8ED4D1 {}
hide CarrierMovement membersclass CustomerRepository <<(R,#e2b8b8)Repository>> #FFFFFF {}
hide CustomerRepository membersclass Cargo <<(R,#5C95D1) AggregateRoot>> #D1A349 {}
hide Cargo membersclass DeliveryHistory <<(E,#FF7700)Entity>> #8ED4D1 {}
hide DeliveryHistory membersclass Location <<(V,#148610) ValueObject>> #861F1B {}
hide Location membersclass Customer <<(E,#FF7700)Entity>> #8ED4D1 {}
hide Customer members}
'!@Relation
HandlingEvent --> CarrierMovement
HandlingEvent --> CargoCustomerRepository --> Customer
DeliverySpecification --> LocationShared
DeliverySpecification --> LocationServiceLocationShared --> Location
DeliveryHistory --> HandlingEvent
CustomerShared --> Customer
CarrierMovement --> LocationShared
Cargo --> DeliveryHistory
Cargo --> Customer
Cargo --> DeliverySpecification
Cargo --> CustomerSharedCargoRepository --> Cargo
@enduml
```## 测试
![](/doc/1.png)
![](/doc/2.png)