Add new code new version
[sdc.git] / dox-sequence-diagram-ui / src / main / webapp / lib / ecomp / asdc / sequencer / components / diagram / templates / fragment.html
1 <g class="asdcs-diagram-fragment" data-id="<%-id%>" data-type="fragment">
2
3     <rect x="<%-x%>" y="<%-y%>" height="<%-height%>" width="<%-width%>"></rect>
4
5     <path d="M<%-x%>,<%-(y+80)%> L<%-(x+100)%>,<%-(y+80)%> L<%-(x+120)%>,<%-(y+60)%> L<%-(x+120)%>,<%-y%>"/>
6
7     <text x="<%-(x+20)%>" y="<%-(y+50)%>" class="asdcs-diagram-fragment-operation"><%-operator%></text>
8
9     <rect class="asdcs-diagram-fragment-guard-bg"
10           x="0" y="0" height="0" width="0"
11           rx="5" ry="5" ></rect>
12
13     <text class="asdcs-diagram-fragment-guard" x="<%-(x+160)%>" y="<%-(y+10)%>"><%
14         for (var lineIndex = 0; lineIndex < lines.length ; lineIndex++) {
15         %><tspan x="<%-(x+160)%>" dy="40px"><%- lines[lineIndex] %></tspan><%
16         }%></text>
17
18 </g>