作者: | 来源:互联网 | 2023-09-24 06:48
我有以下PlantUML图...
@startuml
left to right direction
skinparam linetype ortho
skinparam object {
backgroundColor White
defaultFontName Helvetica
}
object MetadataFile {
+version: xs:decimal
+xmlns: xs:string
}
object fileInfo
object clipID
object Pipeline
object archivedPipeline
object clipName
object sequence
object file
object id
object "description" as fileInfoDescription
object "dateTime" as fileInfoDateTime
object "uuid" as fileInfoUuid
object "description" as PipelineDescription
object "dateTime" as PipelineDateTime
object "uuid" as PipelineUuid
object Version
object MajorVersion
object MinorVersion
object PatchVersion
MetadataFile --> fileInfo
MetadataFile --> clipID
MetadataFile --> Pipeline
MetadataFile --> archivedPipeline
clipID --> clipName
clipID --> sequence
clipID --> file
clipID --> id
fileInfo --> fileInfoDescription
fileInfo --> fileInfoDateTime
fileInfo --> fileInfoUuid
Pipeline --> Version
Pipeline --> PipelineDescription
Pipeline --> PipelineDateTime
Pipeline --> PipelineUuid
Version --> MajorVersion
Version --> MinorVersion
Version --> PatchVersion
@enduml
它产生以下内容:
我正在尝试找出方法
- 使所有行离开每个对象的左侧
- 输入每个对象的右侧
- 在对象左侧的每个垂直列中对齐所有对象。
这可能吗?默认情况下,此图看起来有些混乱。它应该干净得多。
谢谢