PlantUML绘制决策树图

可以用分支图替代,加了个配色

@startuml
skinparam ActivityDiamondBackgroundColor greenyellow
switch (查询场景)
  case (OLTP)
    : MySQL;
  case (OLAP)
    if (实时要求高) then (是)
      : 同步至\nDoris\n在线SQL查询;
    else (否)
      : 同步至Hive\nHive或Presto查询;
    endif
endswitch
@enduml

效果下图:

Leave a Reply

Your email address will not be published. Required fields are marked *