milo-minderbinder / aws-plantuml Goto Github PK
View Code? Open in Web Editor NEWPlantUML sprites, macros, and other includes for AWS components.
License: MIT License
PlantUML sprites, macros, and other includes for AWS components.
License: MIT License
It is hard to find fitting icons without a list.
You have to import each individually and add them to a diagram to discover what the icon is.
A list, like in https://github.com/tupadr3/plantuml-icon-font-sprites, would be really good.
Example from there:
https://github.com/tupadr3/plantuml-icon-font-sprites/blob/master/devicons/index.md
BR! /marcus
This is my code.
And my path for dist as below.
I tried use relative path like "!define AWSPUML ../dist" doesn't work.
Does it support path like this ?
`
@startuml
!define AWSPUML /Users/gwu/gitspace/AWS-PlantUML/dist
!includeurl AWSPUML/common.puml
!includeurl AWSPUML/ApplicationServices/AmazonAPIGateway/AmazonAPIGateway.puml
!includeurl AWSPUML/Compute/AWSLambda/AWSLambda.puml
!includeurl AWSPUML/Compute/AWSLambda/LambdaFunction/LambdaFunction.puml
!includeurl AWSPUML/Database/AmazonDynamoDB/AmazonDynamoDB.puml
!includeurl AWSPUML/Database/AmazonDynamoDB/table/table.puml
!includeurl AWSPUML/General/AWScloud/AWScloud.puml
!includeurl AWSPUML/General/client/client.puml
!includeurl AWSPUML/General/user/user.puml
!includeurl AWSPUML/SDKs/JavaScript/JavaScript.puml
!includeurl AWSPUML/Storage/AmazonS3/AmazonS3.puml
!includeurl AWSPUML/Storage/AmazonS3/bucket/bucket.puml
skinparam componentArrowColor Black
skinparam componentBackgroundColor White
skinparam nodeBackgroundColor White
skinparam agentBackgroundColor White
skinparam artifactBackgroundColor White
USER(user)
CLIENT(browser)
JAVASCRIPT(js,SDK)
AWSCLOUD(aws) {
AMAZONS3(s3) {
BUCKET(site,www.insecurity.co)
BUCKET(logs,logs.insecurity.co)
}
AMAZONAPIGATEWAY(api)
AWSLAMBDA(lambda) {
LAMBDAFUNCTION(addComments,addComments)
}
AMAZONDYNAMODB(dynamo) {
TABLE(comments,Comments)
}
}
user - browser
browser -d-> site :1a) get\nstatic\ncontent
site ~> logs :1a
site .u.> browser :1b
browser - js
js -r-> comments :2a) get\ncomments
comments ..> js :2b
js -r-> api :3) add\ncomment
api -d-> addComments :4
addComments -> comments :5
comments ..> js :6) new\ncomments
@enduml
`
A list of elements that have been implemented as PlantUML elements should be added to the README, so that it is easy to quickly check to see which components can be added to diagrams without checking the individual .puml
files.
Awesome resource, but I wish there was an EKS sprite.
Hi,
Sorry if this is actually a PlantUML question.
Is there a way to make the icons smaller ?
I know that with sprites you can do something like...
<$my_sprite{scale=0.5}>
But I don't know how to combine that syntax with your macros...
Thanks in advance.
New preprocessor uses different syntax
PlantUML Version 1.2019.09
See #26
Many thanks for this set of sprites and goodies. It's really super-useful.
Actually, it's so useful that we would like to include these to the standard distribution of PlantUML.
Following the C convention for "C standard library" (see https://en.wikipedia.org/wiki/C_standard_library ), users would be able to use something like:
!include <aws/common.puml>
!include <aws/ApplicationServices/AmazonAPIGateway/AmazonAPIGateway.puml>
!include <aws/Compute/AWSLambda/AWSLambda.puml>
!include <aws/Compute/AWSLambda/LambdaFunction/LambdaFunction.puml>
!include <aws/Database/AmazonDynamoDB/AmazonDynamoDB.puml>
!include <aws/Database/AmazonDynamoDB/table/table.puml>
!include <aws/General/AWScloud/AWScloud.puml>
!include <aws/General/client/client.puml>
!include <aws/SDKs/JavaScript/JavaScript.puml>
!include <aws/General/user/user.puml>
!include <aws/Storage/AmazonS3/AmazonS3.puml>
!include <aws/Storage/AmazonS3/bucket/bucket.puml>
This would simply work out-of-the-box, without any other requirement.
The only drawback is that it will increase plantuml.jar size of 2.5 Mo.
@startuml
authors
@enduml
Does it sound good to you ?
Awesome resource, but I wish there was an golang sprite.
The router looks strange without:
skinparam defaultTextAlignment center
Test by commenting out that line here:
It might be a good idea to always center the labels somehow to prevent this, or generally recommend this attribute be turned on in uml docs.
Several of us have been making an effort to bring together the projects and people who feed sprites into the official plantuml-stdlib.
We've been doing this under https://github.com/plantuml-stdlib/, with the go-ahead of Arnaud Roques (creator of PlantUML)
This ticket is to ask whether you would be interested in joining that effort and/or migrating this project to the PlantUML-StdLib organization.
The main reason for asking is to see if, by joining forces, we can make sure that any sprites already added to the official plantuml-stdlib remain maintained.
So, what do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.