Adding png export test
This commit is contained in:
83
wise-webapp/src/test/data/svg/map1.svg
Normal file
83
wise-webapp/src/test/data/svg/map1.svg
Normal file
@@ -0,0 +1,83 @@
|
||||
<svg focusable="true" id="workspace" width="1600" height="307"
|
||||
viewBox="-560 -107.44999999999999 1120 214.89999999999998" preserveAspectRatio="none">
|
||||
<polyline fill="none" stroke-width="1px" stroke="#495879" stroke-opacity="1"
|
||||
points="-227,-50 -237,-50 -237,-31.5 -242,-26.5 -314.5,-26.5" visibility="visible"/>
|
||||
<polyline fill="none" stroke-width="1px" stroke="#495879" stroke-opacity="1" points="-227,-50 -300.5,-50.5"
|
||||
visibility="visible"/>
|
||||
<polyline fill="none" stroke-width="1px" stroke="#495879" stroke-opacity="1"
|
||||
points="-227,-50 -237,-50 -237,-69.5 -242,-74.5 -300.5,-74.5" visibility="visible"/>
|
||||
<line stroke-width="1px" stroke="#495879" x2="-152" y2="-50" x1="0" y1="0" visibility="visible"/>
|
||||
<rect width="50" height="10" x="5" y="5" stroke-width="1px" stroke="#FF9933" fill="#CC0033" stroke-opacity="0.4"
|
||||
fill-opacity="0.4" visibility="hidden"/>
|
||||
<polyline fill="none" stroke-width="1px" stroke="#CC0033" stroke-opacity="0.4" fill-opacity="0.4"
|
||||
visibility="hidden"/>
|
||||
<line stroke-width="1px" stroke="#CC0033" stroke-opacity="0.4" fill-opacity="0.4" visibility="hidden"/>
|
||||
<rect width="50" height="10" x="5" y="5" stroke-width="1px" stroke="#FF9933" fill="#CC0033" stroke-opacity="0.4"
|
||||
fill-opacity="0.4" visibility="hidden"/>
|
||||
<g preserveAspectRatio="none" focusable="true" width="100" height="100" transform="translate(-301, -91) scale(1)"
|
||||
visibility="visible">
|
||||
<rect width="59" height="23" rx="3.4499999999999997" ry="3.4499999999999997" x="-2" y="-3" stroke-width="1px"
|
||||
stroke="#77555a" fill="#dbe2e6" stroke-opacity="0" fill-opacity="0"/>
|
||||
<ellipse width="6" height="6" rx="3" ry="3" cx="3" cy="3" stroke-width="1px" fill="#E0E5EF"
|
||||
style="cursor: default;" visibility="hidden" stroke="#023BB9"/>
|
||||
<line stroke-width="1px" stroke="#495879" style="cursor: move;" visibility="hidden" x1="-1" y1="17" x2="56"
|
||||
y2="17"/>
|
||||
<text focusable="true" font-family="verdana" font-size="8.0625" font-style="normal" font-weight="normal"
|
||||
fill="#525c61" style="cursor: move;" y="9" x="6" visibility="visible">Sub Topic
|
||||
</text>
|
||||
</g>
|
||||
<g preserveAspectRatio="none" focusable="true" width="100" height="100" transform="translate(-301, -67) scale(1)"
|
||||
visibility="visible">
|
||||
<rect width="59" height="23" rx="3.4499999999999997" ry="3.4499999999999997" x="-2" y="-3" stroke-width="1px"
|
||||
stroke="#77555a" fill="#dbe2e6" stroke-opacity="0" fill-opacity="0"/>
|
||||
<ellipse width="6" height="6" rx="3" ry="3" cx="3" cy="3" stroke-width="1px" fill="#E0E5EF"
|
||||
style="cursor: default;" visibility="hidden" stroke="#023BB9"/>
|
||||
<line stroke-width="1px" stroke="#495879" style="cursor: move;" visibility="hidden" x1="-1" y1="17" x2="56"
|
||||
y2="17"/>
|
||||
<text focusable="true" font-family="verdana" font-size="8.0625" font-style="normal" font-weight="normal"
|
||||
fill="#525c61" style="cursor: move;" y="9" x="6" visibility="visible">Sub Topic
|
||||
</text>
|
||||
</g>
|
||||
<g preserveAspectRatio="none" focusable="true" width="100" height="100" transform="translate(-315, -43) scale(1)"
|
||||
visibility="visible">
|
||||
<rect width="73" height="23" rx="3.4499999999999997" ry="3.4499999999999997" x="-2" y="-3" stroke-width="1px"
|
||||
stroke="#77555a" fill="#dbe2e6" stroke-opacity="0" fill-opacity="0"/>
|
||||
<ellipse width="6" height="6" rx="3" ry="3" cx="3" cy="3" stroke-width="1px" fill="#E0E5EF"
|
||||
style="cursor: default;" visibility="hidden" stroke="#023BB9"/>
|
||||
<line stroke-width="1px" stroke="#495879" style="cursor: move;" visibility="hidden" x1="-1" y1="17" x2="70"
|
||||
y2="17"/>
|
||||
<text focusable="true" font-family="verdana" font-size="8.0625" font-style="normal" font-weight="normal"
|
||||
fill="#525c61" style="cursor: move;" y="9" x="20" visibility="visible">Sub Topic
|
||||
</text>
|
||||
<g preserveAspectRatio="none" focusable="true" width="14" height="12" transform="translate(3, 3) scale(1)">
|
||||
<image href="../images/world_link.png" width="12" height="12" y="0" x="2"/>
|
||||
</g>
|
||||
</g>
|
||||
<g preserveAspectRatio="none" focusable="true" width="100" height="100" transform="translate(-226, -61) scale(1)"
|
||||
visibility="visible">
|
||||
<rect width="80" height="28" rx="4.2" ry="4.2" x="-2" y="-3" stroke-width="1px" stroke="#77555a" fill="#dbe2e6"
|
||||
stroke-opacity="0" fill-opacity="0"/>
|
||||
<rect width="76" height="22" rx="3.3" ry="3.3" x="0" y="0" stroke-width="0.5px" stroke="#023BB9" fill="#E0E5EF"
|
||||
style="cursor: move;"/>
|
||||
<text focusable="true" font-family="verdana" font-size="10.75" font-style="normal" font-weight="normal"
|
||||
fill="#525c61" style="cursor: move;" y="12" x="8" visibility="visible">Main Topic
|
||||
</text>
|
||||
<ellipse width="6" height="6" rx="3" ry="3" cx="-3" cy="11" stroke-width="1px" fill="#E0E5EF"
|
||||
style="cursor: default;" visibility="visible" stroke="#023BB9"/>
|
||||
</g>
|
||||
<g preserveAspectRatio="none" focusable="true" width="100" height="100" transform="translate(-79, -17) scale(1)"
|
||||
visibility="visible">
|
||||
<rect width="163" height="41" rx="6.1499999999999995" ry="6.1499999999999995" x="-2" y="-3" stroke-width="1px"
|
||||
stroke="#77555a" fill="#c7d8ff" stroke-opacity="1" fill-opacity="1" style="cursor: default;"/>
|
||||
<rect width="159" height="35" rx="5.25" ry="5.25" x="0" y="0" stroke-width="0.5px" fill="#f7f7f7"
|
||||
stroke="#023BB9" style="cursor: default;"/>
|
||||
<text focusable="true" font-family="verdana" font-size="13.4375" font-style="normal" font-weight="bold"
|
||||
fill="#023BB9" style="cursor: default;" y="19" x="56" visibility="visible">exporttes't
|
||||
</text>
|
||||
<g preserveAspectRatio="none" focusable="true" width="38" height="12" transform="translate(9, 9) scale(1)">
|
||||
<image href="../images/disconnect.png" width="12" height="12" y="0" x="2"/>
|
||||
<image href="../images/world_link.png" width="12" height="12" y="0" x="14"/>
|
||||
<image href="../images/note.png" width="12" height="12" y="0" x="26"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.2 KiB |
Reference in New Issue
Block a user