-
-
Notifications
You must be signed in to change notification settings - Fork 129
Description
There is EIP library by aheil https://github.com/aheil/EIP-PlantUML but:
. it lacks catalog of all what it offers
. there are bugs in it leading to some images not being shown at all
. it does too much with stereotypes and so on limiting where you can use those images due to syntax errors after macro expansion
Instead, i've created another library https://github.com/nikolay-martynov/eip-for-plantuml based on MIT licensed SVG's from https://github.com/comsysto/enterprise-integration-pattern-shapes-for-gliffy
There's quite a number of pictures for enterprise integration patterns.
Being a pure sprite library like Cloud Inside standard library you have lots of freedom about how you like your diagram to look like.
I've also made a full catalog that makes it easier to pick sprite you need and copy its name. You can find it description of project and it could also be linked from githubpages:
https://camo.githubusercontent.com/343945ec5319da62cd7955fa7f4c7b18a79e77be/68747470733a2f2f6e696b6f6c61792d6d617274796e6f762e6769746875622e696f2f6569702d666f722d706c616e74756d6c2f67656e6572617465642d6578616d706c65732f616c6c2d737072697465732e737667
Here's example diagram from EIP book (same as in project description):
@startuml
!includeurl https://raw.githubusercontent.com/nikolay-martynov/eip-for-plantuml/master/dist/eip-for-plantuml.puml
legend top
You can use sprite
anywhere you can use text.
Rectangle content is most
convenient.
endlegend
rectangle "<$EIP_MessageDouble>\nNew order" as newOrder
rectangle "<$EIP_Splitter>\nSplitter" as splitter
rectangle "<$EIP_MessageSingleGreen>\nOrder item 1" as item1
rectangle "<$EIP_MessageSingleOrange>\nOrder item 2" as item2
newOrder -> splitter
splitter -> item1
item1 -[hidden] item2
@enduml
Please consider adopting the sprites.