从文档中可以清楚地看出如何使用 skinparam 为所有箭头着色,我可以使用颜色更改组件的整体颜色。我只是不清楚如何只给箭头上色。
例如,在下面的示例中,如何使从 component1 到 component3 的箭头具有不同的颜色
工厂 UML 代码
@startuml
[Component1] as 1
[Component2] as 2
[Component3] as 3
1 --> 2
1 --> 3
@enduml
结果图
从文档中可以清楚地看出如何使用 skinparam 为所有箭头着色,我可以使用颜色更改组件的整体颜色。我只是不清楚如何只给箭头上色。
例如,在下面的示例中,如何使从 component1 到 component3 的箭头具有不同的颜色
工厂 UML 代码
@startuml
[Component1] as 1
[Component2] as 2
[Component3] as 3
1 --> 2
1 --> 3
@enduml
结果图