feat(context-pad): use font to render symbols

Related to #148
This commit is contained in:
Nico Rehwaldt 2014-11-05 14:05:31 +01:00
parent 8deb9d30a1
commit b1f310a1db
17 changed files with 71 additions and 414 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1,21 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2014 by original authors @ fontello.com</metadata>
<defs>
<font id="bpmn" horiz-adv-x="1000" >
<font-face font-family="bpmn" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="end-event" unicode="&#xe800;" d="m499 805c-250 0-454-204-454-454 0-251 204-455 454-455 251 0 455 204 455 455 0 250-204 454-455 454z m0-113c190 0 343-152 343-341 0-190-153-343-343-343-189 0-341 153-341 343 0 189 152 341 341 341z" horiz-adv-x="1000" />
<glyph glyph-name="text-annotation" unicode="&#xe801;" d="m677 795l0-25 0-411 0-412 0-24 24 0 224 0 25 0 0 49-25 0-199 0 0 387 0 386 199 0 25 0 0 50-25 0-224 0-24 0z m-81-386l-75-60 60-75 75 60-60 75z m-151-119l-75-60 60-75 75 59-60 76z m-150-120l-76-59 60-76 75 60-59 75z m-151-119l-76-60 60-75 76 59-60 76z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event" unicode="&#xe802;" d="m499 793c-172 3-338-106-406-265-71-159-36-359 86-484 115-124 303-171 463-115 169 56 295 221 301 399 11 171-88 341-241 417-63 32-133 49-203 48z m0-48c172 3 336-120 381-286 47-157-17-338-151-431-141-103-348-96-481 17-135 109-181 311-108 468 61 140 207 233 359 232z m0-56c-153 3-297-112-329-262-36-147 40-312 175-379 135-72 314-36 411 81 102 113 111 295 20 417-62 89-168 143-277 143z m0-49c137 3 265-103 287-238 26-132-54-275-180-322-122-51-275-4-347 108-79 114-60 285 46 377 52 48 123 75 194 75z" horiz-adv-x="1000" />
<glyph glyph-name="trash" unicode="&#xe803;" d="m387 757c0-21 0-41 0-62-27 2-53-12-79-18-47-14-140-41-140-41 0 0-8-43 8-40 219 0 438 0 656 0-3 11 8 41-8 42-66 19-132 39-199 57-19-6-11 16-12 27-3 10 5 31-4 35-74 0-148 0-222 0z m-198-222c22-200 44-401 66-601 165 0 331 0 497 0 20 200 41 399 61 598-208 2-416 3-624 3z m71-63c161 0 321 0 482 0-16-158-32-316-48-474-128 0-257 0-385 0-16 158-32 316-49 474z m381-52c-26 2-33-27-34-47-13-102-29-203-41-305 1-41 66-34 62 6 14 106 30 212 43 318-1 16-14 28-30 28z m-283 0c-29-1-31-33-25-55 14-102 28-204 42-306 11-45 76-16 57 24-15 105-29 210-44 316-4 13-17 22-30 21z" horiz-adv-x="1000" />
<glyph glyph-name="connection" unicode="&#xe804;" d="m911 749c0 0-285-146-431-214 31-28 60-59 90-89-147-149-295-299-443-448 11-11 22-21 33-31 148 149 295 299 443 448 30-29 60-60 90-90 77 153 218 424 218 424z" horiz-adv-x="1000" />
<glyph glyph-name="start-event" unicode="&#xe805;" d="m499 802c-177 3-348-112-416-276-70-161-34-361 90-487 118-128 313-174 476-115 170 58 295 224 302 403 11 176-92 352-251 428-62 31-131 47-201 47z m0-48c176 3 343-123 388-293 48-160-16-345-154-439-143-105-355-98-490 17-136 109-185 309-115 469 61 147 212 247 371 246z" horiz-adv-x="1000" />
<glyph glyph-name="gateway" unicode="&#xe806;" d="m58 376c-24-25 1-54 21-71 132-132 264-264 396-396 24-25 53 0 70 20 132 132 264 264 395 396 26 24 2 54-18 71-132 132-264 263-396 395-25 25-55 1-72-20-132-131-264-263-396-395z m52-26c130 130 260 260 390 390 130-130 260-260 390-390-130-130-260-261-390-391-130 130-260 261-390 391z" horiz-adv-x="1000" />
<glyph glyph-name="task" unicode="&#xe807;" d="m785 729c-4 0-8 0-12-1l-557 0 0 0c-94 3-176-85-168-178 0-140-1-280 0-421 3-92 91-166 182-158 188 0 375 0 563 0 91 2 166 89 158 179 0 140 1 280 0 420-2 86-81 159-166 159z m-208-74c73 0 145 0 217-1 53-3 90-56 83-107 0-139 1-279 0-419-3-53-56-89-107-83-188 0-376-1-564 0-53 4-91 56-84 107 0 140-1 280 0 419 4 48 47 85 94 84 120-1 241 0 361 0z" horiz-adv-x="1000" />
<glyph glyph-name="subprocess-expanded" unicode="&#xe808;" d="m785 728c-4 0-8 0-12 0l-556 0c-94 2-176-85-168-178 0-140 0-280 0-420 3-92 92-166 182-158 187 0 375 0 562 0 91 2 166 89 158 178 0 140 0 280 0 420-2 86-81 158-166 158l0 0z m-207-73c72 0 144 0 216-1 53-3 90-56 83-106 0-140 1-279 0-419-3-53-56-89-107-83-33 0-67 0-101 0l0 295 0 15-15 0-308 0-15 0 0-15 0-295c-41 0-83 0-124 1-53 3-91 55-84 106 0 139-1 279 0 418 4 47 47 85 94 83 120 0 241 0 361 0l0 1z m-216-330l276 0 0-276-276 0 0 276z m37-112l0-47 203 0 0 47-203 0z" horiz-adv-x="1000" />
<glyph glyph-name="subprocess-collapsed" unicode="&#xe809;" d="m785 728c-4 0-9 0-13 0l-556 0c-93 2-176-85-168-178 0-140 0-280 1-420 2-92 91-166 181-158 188 0 375 0 562 0 91 2 166 89 159 178-1 140 0 280-1 420-2 86-80 158-165 158l0 0z m-208-73c72 0 144 0 217-1 53-3 89-56 83-106-1-140 0-279-1-419-3-53-56-89-106-83-34 0-67 0-101 0l0 294 0 15-15 0-308 0-15 0 0-15 0-294c-42 0-83 0-124 1-53 3-91 55-85 106 0 139-1 279 0 418 4 47 48 85 94 83 121 0 241 0 361 0l0 1z m-215-331l276 0 0-276-276 0 0 276z m115-39l0-23 0-54-54 0-23 0 0-47 23 0 54 0 0-53 0-24 46 0 0 24 0 53 54 0 23 0 0 47-23 0-54 0 0 54 0 23-46 0z" horiz-adv-x="1000" />
</font>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Binary file not shown.

View File

@ -3,21 +3,6 @@
var _ = require('lodash');
/* jshint -W101 */
var images = {
EVENT_END: 'iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAEbSURBVDiNtZUxisMwEEWfnDKQwqdIGXAjUJlrLVssi2+im1jgxpAyre6QlMlPYStoN7Z3Dc6HKWz4j5nxl2wkMSdjzAbYD49nSbdZg6SXAnZADTTABdBQl+FdDexGvSOwIxAzyFRF4Pjbb/KRjTFfwAdgAKy1OOeoqgqArusIIdC27XNA4FvS58vIQ2d3QGVZynuvKXnvVZZl6vSed5rvLCZYjHESlhRjzKEx7TQB67Sbuc7GOs12WufABpC19t+wJGttAjaSKIacHQCcc7MRG1PmORhjNgV9aLfA82suUebZAvtiMeEPFcAZuEKfs6XKPFfgXKg/myeAEMJiYOY5Sbq9LTbrBlsrHr33XQ5a6fpa/YL9MfKYlv4CHqE/UXeUBA2YAAAAAElFTkSuQmCC',
GATEWAY: 'iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAG1JREFUeNqs1MsJACEMBFC1gfR/sqSUlEXZFVEzcWEG5vrAT5LNLFFyAdW32AigKiLWirAI6oiq9iIMQQP5gjAP2pAIO0EugrAVChEPm6Fr5IQ1oyRW2EejXjb1+akfkjoi1KH9tUYya7E9AgwA8H6jTs2UBDgAAAAASUVORK5CYII=',
TASK: 'iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALBJREFUeNpi/P//PwM1ABMDlQALiGBkZARR/ECcAMQCROr9AMQLgPgjy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0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADwSURBVDiNzdQxLwRBFADg7+ESnURHRIgoNBqtqPwHP0CikCiIX3A/SKeho9BcIqEREUGUSu4ajGYle26d3b0tTPKaN+99eTOZTKSUNLnGGtX+HRgR6xHRHhmMiLWI6OAcV32bKaXSgVWcoIeEx4GaktAKjvGGjwzrYbMSiBkc4RXvGfQdl0U9f93hCyYRGM/luzgo7Chx3Amc4TM3XefX+hLgMp5xnU3WxUYtEEt4wjZaOMXF0J4h2AIesJPLtbBYGcQ87rFb5Z0WgpjDHfaqYgMgZnGL/TpYH4gp3OCwLvYTnMbWKFhKSWRYY6vxD/YLVqFRD/AxuKIAAAAASUVORK5CYII='
};
/* jshint +W101 */
/**
* A provider for BPMN 2.0 elements context pad
*
@ -78,42 +63,42 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
_.extend(actions, {
'action.model-event': {
group: 'model',
imageUrl: 'data:image/png;base64,' + images.EVENT_END,
className: 'icon-end-event',
action: function(event, element) {
append(element, 'bpmn:EndEvent');
}
},
'action.model-gateway': {
group: 'model',
imageUrl: 'data:image/png;base64,' + images.GATEWAY,
className: 'icon-gateway',
action: function(e) {
append(element, 'bpmn:ExclusiveGateway');
}
},
'action.model-task': {
group: 'model',
imageUrl: 'data:image/png;base64,' + images.TASK,
className: 'icon-task',
action: function() {
append(element, 'bpmn:Task');
}
},
'action.model-intermediate-event': {
group: 'model',
imageUrl: 'data:image/png;base64,' + images.INTER_THROW_EVENT,
className: 'icon-intermediate-event',
action: function() {
append(element, 'bpmn:IntermediateThrowEvent');
}
},
'action.model-text-Annotation': {
group: 'model',
imageUrl: 'data:image/png;base64,' + images.TEXT_ANNOTATION,
className: 'icon-text-annotation',
action: function() {
append(element, 'bpmn:TextAnnotation');
}
},
'action.connect': {
group: 'connect',
imageUrl: 'data:image/png;base64,' + images.CONNECT,
className: 'icon-connection',
action: {
click: startConnect,
dragstart: startConnect
@ -126,7 +111,7 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
_.extend(actions, {
'action.delete': {
group: 'edit',
imageUrl: 'data:image/png;base64,' + images.TRASH,
className: 'icon-trash',
action: function(e) {
modeling.removeShape(element);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

View File

@ -1,243 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="20"
height="20"
id="svg3795"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="connection.svg"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
inkscape:export-filename="/home/nikku/camunda/projects/bpmn.io/bpmn-js/resources/images/context-pad/connections.png">
<defs
id="defs3">
<inkscape:path-effect
effect="spiro"
id="path-effect7793"
is_visible="true" />
<marker
style="overflow:visible"
inkscape:stockid="InfiniteLineStart"
id="InfiniteLineStart"
refX="0"
refY="0"
orient="auto">
<g
id="g4234"
style="fill:#000000"
transform="translate(-13,0)">
<circle
d="M 3.8,0 C 3.8,0.44182781 3.4418278,0.80000001 3,0.80000001 2.5581722,0.80000001 2.2,0.44182781 2.2,0 c 0,-0.44182781 0.3581722,-0.80000001 0.8,-0.80000001 0.4418278,0 0.8,0.3581722 0.8,0.80000001 z"
id="circle4236"
r="0.8"
cy="0"
cx="3" />
<circle
d="M 7.3,0 C 7.3,0.44182781 6.9418278,0.80000001 6.5,0.80000001 6.0581722,0.80000001 5.7,0.44182781 5.7,0 c 0,-0.44182781 0.3581722,-0.80000001 0.8,-0.80000001 0.4418278,0 0.8,0.3581722 0.8,0.80000001 z"
id="circle4238"
r="0.8"
cy="0"
cx="6.5" />
<circle
d="M 10.8,0 C 10.8,0.44182781 10.441828,0.80000001 10,0.80000001 9.5581722,0.80000001 9.2,0.44182781 9.2,0 c 0,-0.44182781 0.3581722,-0.80000001 0.8,-0.80000001 0.441828,0 0.8,0.3581722 0.8,0.80000001 z"
id="circle4240"
r="0.8"
cy="0"
cx="10" />
</g>
</marker>
<marker
style="overflow:visible"
id="DistanceStart"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="DistanceStart">
<g
id="g2300">
<path
style="fill:none;stroke:#ffffff;stroke-width:1.15;stroke-linecap:square"
d="M 0,0 L 2,0"
id="path2306" />
<path
style="fill:#000000;fill-rule:evenodd;stroke:none"
d="M 0,0 L 13,4 L 9,0 13,-4 L 0,0 z "
id="path2302" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:square"
d="M 0,-4 L 0,40"
id="path2304" />
</g>
</marker>
<marker
inkscape:stockid="Arrow2Send"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Send"
style="overflow:visible;">
<path
id="path4023"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.3) rotate(180) translate(-2.3,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Mend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mend"
style="overflow:visible;">
<path
id="path4017"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) rotate(180) translate(0,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lend"
style="overflow:visible;">
<path
id="path4011"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) rotate(180) translate(1,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lstart"
style="overflow:visible">
<path
id="path3990"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
transform="scale(0.8) translate(12.5,0)" />
</marker>
<marker
style="overflow:visible"
inkscape:stockid="InfiniteLineEnd"
id="InfiniteLineEnd"
refX="0"
refY="0"
orient="auto">
<g
id="g4225"
style="fill:#000000">
<circle
id="circle4227"
r="0.8"
cy="0"
cx="3" />
<circle
id="circle4229"
r="0.8"
cy="0"
cx="6.5" />
<circle
id="circle4231"
r="0.8"
cy="0"
cx="10" />
</g>
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lend"
style="overflow:visible;">
<path
id="path3993"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;"
transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker>
<inkscape:path-effect
effect="construct_grid"
id="path-effect3036"
is_visible="true"
nr_x="5"
nr_y="5" />
<inkscape:path-effect
effect="spiro"
id="path-effect3034"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3030"
is_visible="true" />
</defs>
<sodipodi:namedview
inkscape:document-units="mm"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="28.45"
inkscape:cx="2.6713533"
inkscape:cy="10"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1596"
inkscape:window-height="861"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="0"
borderlayer="true" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1032.3622)"
style="opacity:1">
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:none;marker-end:none"
d="M 2.1783162,1050.4672 17.588082,1034.6386"
id="path3032"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<path
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 14.114094,1041.9723 3.79033,-7.4687 -7.46877,3.7903 3.67844,3.6784"
id="path7791"
inkscape:path-effect="#path-effect7793"
inkscape:original-d="m 14.114094,1041.9723 3.79033,-7.4687 -7.46877,3.7903 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="20"
height="20"
id="svg3795"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="event-end.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs3" />
<sodipodi:namedview
inkscape:document-units="mm"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="28.45"
inkscape:cx="10"
inkscape:cy="10"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="956"
inkscape:window-height="1041"
inkscape:window-x="3520"
inkscape:window-y="37"
inkscape:window-maximized="0"
borderlayer="true" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1032.3622)"
style="opacity:1">
<path
sodipodi:type="arc"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.78295898;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="path4313"
sodipodi:cx="10.089999"
sodipodi:cy="9.9862957"
sodipodi:rx="9.0981655"
sodipodi:ry="9.0981655"
d="m 19.188165,9.9862957 a 9.0981655,9.0981655 0 1 1 -18.19633131,0 9.0981655,9.0981655 0 1 1 18.19633131,0 z"
transform="matrix(0.88182203,0,0,0.88182203,1.1024165,1033.5561)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

View File

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="20"
height="20"
id="svg2"
version="1.1"
inkscape:version="0.48.2 r9819"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="text-annotation.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="31.1"
inkscape:cx="9.0096599"
inkscape:cy="10"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:window-width="1452"
inkscape:window-height="977"
inkscape:window-x="42"
inkscape:window-y="22"
inkscape:window-maximized="0">
<sodipodi:guide
orientation="0,1"
position="2.3472669,3.2797428"
id="guide3774" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1032.3622)">
<path
style="fill:none;stroke:#000000;stroke-width:0.85462976;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 16.806851,1034.5508 -3.9101,0 0,7.0913 0,7.0914 3.9101,0"
inkscape:connector-curvature="0"
id="rect2985"
sodipodi:nodetypes="ccccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.99204856;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:0.99204856, 0.99204856;stroke-dashoffset:0"
d="m 1.5470475,1048.7118 11.0921995,-8.1566"
id="path3762"
inkscape:connector-curvature="0" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

View File

@ -2,5 +2,5 @@ var TestHelper = module.exports = require('./helper');
var fs = require('fs');
// insert diagram.css
TestHelper.insertCSS('diagram.css', fs.readFileSync(__dirname + '/../node_modules/diagram-js/assets/diagram.css', 'utf-8'));
TestHelper.insertCSS('diagram-js.css', fs.readFileSync(__dirname + '/../node_modules/diagram-js/assets/diagram-js.css', 'utf-8'));
TestHelper.insertCSS('bpmn-embedded.css', fs.readFileSync(__dirname + '/../assets/bpmn-font/css/bpmn-embedded.css', 'utf-8'));