Graph plantuml-更好地配置箭头和文本
我试图用plantuml绘制这个组件图Graph plantuml-更好地配置箭头和文本,graph,uml,plantuml,component-diagram,Graph,Uml,Plantuml,Component Diagram,我试图用plantuml绘制这个组件图 @startuml skinparam linetype ortho left to right direction folder BASE { folder foo { component aaa } folder bar { component bbb folder ENV { artifact ccc <<config>>
@startuml
skinparam linetype ortho
left to right direction
folder BASE {
folder foo {
component aaa
}
folder bar {
component bbb
folder ENV {
artifact ccc <<config>>
artifact ddd <<db>>
}
}
}
folder lorem {
folder ipsum {
component eee
component fff
component ggg
}
folder amet {
component panel <<jar>>
}
folder dolor {
artifact hhh <<config>>
}
}
folder fox {
folder jumps {
artifact jjj <<document>>
artifact kkk <<document>>
artifact mmm<<document>>
}
folder lazy {
artifact context.txt
}
}
aaa --> context.txt : write
aaa --> bbb : launch
bbb --> hhh : read
bbb --> panel : launch
panel --> ccc : read
panel --> ddd : read
panel --> eee : run
panel --> fff : run
panel --> ggg : run
panel --> kkk : write
eee --> jjj : read
eee --> mmm: write
ggg --> jjj : write
ggg --> mmm: read
@enduml
@startuml
skinparam线型正交
从左到右方向
文件夹库{
文件夹foo{
成分aaa
}
文件夹栏{
成分bbb
文件夹环境{
人工制品
伪影
}
}
}
文件夹lorem{
折叠式ipsum{
成分eee
分量fff
组件ggg
}
文件夹amet{
组件面板
}
文件夹多洛{
人工制品
}
}
fox文件夹{
文件夹跳转{
神器jjj
神器kkk
伪影
}
文件夹惰性{
工件上下文.txt
}
}
aaa-->context.txt:写入
aaa-->bbb:启动
bbb-->hhh:读取
bbb-->面板:启动
面板-->ccc:读取
面板-->ddd:读取
面板-->eee:运行
面板-->fff:运行
面板-->ggg:运行
面板-->kkk:写入
eee-->jjj:读取
eee-->mmm:写入
ggg-->jjj:写入
ggg-->mmm:读取
@enduml
结果有点混乱:箭头重叠,箭头上的文字难以阅读
看
有没有办法更好地控制箭头和文本配置?
(例如,用于最小化箭头交叉点并使文本更接近相应箭头的内容)