PlantUML不同的布局 [英] PlantUML different layouts

查看:1720
本文介绍了PlantUML不同的布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PlantUML API生成活动图.

I am using PlantUML API to generate Activity Diagram.

我之前使用过GraphViz并使用rank参数来定义布局

I have used GraphViz before and used rank parameter to define layout

rank=LR [for left to right]

我试图在PlantUML中找到类似的东西,我可以将其方向更改为从左到右",而不是现有的布局,即从上到下".

I am trying to find similiar thing in PlantUML where I can change its orientation to "Left to Right" instead of existing layout i.e. "Top to Bottom".

推荐答案

否,您不能使用当前版本(7876). 您可以对状态图,类图,组件图或用例图使用以下命令:

No, you cannot with current version (7876). You can use the following command with State, Class, Component or Usecase diagrams:

left to right direction

(请参见 http://plantuml.sourceforge.net/usecase.html#Rankdir )

但是,此功能将在下一版本中添加.

However, this feature will be added in next version.

这篇关于PlantUML不同的布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆