@startuml scale 480*320 center header 一个简单的博客系统 endheader class Visitor { browse() } class Article { + id: int + author: int + content: string } class User { +id: int +name: String - writeArticle(content: string) - commentArticle(content: string) } class Admin { - deleteArticle(id: int) - deleteComment(id: int) - editArticle(id: int, content: int) - editComment(id: int, content: int) } class Comment { +id: int +content: string +author: int } User <|-- Admin : 管理员有删除/编辑文章和评论的能力 User <.. Article : 用户可以写文章 User <.. Comment : 用户可以写评论 Article --> Visitor : 游客可以浏览文章 Comment --> Visitor : 游客可以浏览评论 @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art