JBPM:JBPM jpdl.xml中`g =`之后的数字是什么意思?

时间:2016-01-12 00:56:10

标签: java jbpm jpdl

<process name="decisionsUsingTransitions" xmlns="http://jbpm.org/4.0/jpdl">
   <start g="72,168,48,48" name="Start">
      <transition to="Decision"/>
   </start>
   <decision expr="#{opcao}" g="192,168,48,48" name="Decision">
      <transition g="217,84:23,-21" name="Opção A" to="Opção A"/>
      <transition g="-26,-20" name="Opção B" to="Opção B"/>
      <transition g="217,302:22,5" name="Opção C" to="Opção C"/>
   </decision>

以上是JBPM jpdl.xml文件的一部分,我想知道g=之后的数字(即72,168,48,48)是什么意思?

1 个答案:

答案 0 :(得分:0)

'g ='之后的数字只是坐标(由您在创建JBPM流程时使用的任何图形编辑器使用)来“绘制”流程的图形表示。它们不会影响状态之间的正常转换,如果不使用这样的图形工具,它们可以完全省略。