<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
.KEYW {color: yellow;}
.COMM {color: #bbb; font-style: italic;}
.NUMB {color: #393;}
.STRN {color: #393;}
.REGX {color: #339;}
.NAME {color: white;}
.PUNC {color: #5ca29c;}
.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
</style></head><body><pre><span class='line'> 1</span> <span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">global</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 2</span>
<span class='line'> 3</span>
<span class='line'> 4</span> </span><span class="COMM">/**
<span class='line'> 5</span> * @name Joint.arrows
<span class='line'> 6</span> * @namespace Additional ready-to-use arrows.
<span class='line'> 7</span> <h3>Creating your own arrows</h3>
<span class='line'> 8</span> <p>New arrows can be easily added. Each arrow is a function of one parameter (size) returning an object
<span class='line'> 9</span> which describes the arrow. The object has four properties:</p>
<span class='line'> 10</span> <ul>
<span class='line'> 11</span> <li><i>path</i>: SVG path of arrow shape</li>
<span class='line'> 12</span> <li><i>dx</i>: x-axis offset</li>
<span class='line'> 13</span> <li><i>dy</i>: y-axis offset</li>
<span class='line'> 14</span> <li><i>attrs</i>: SVG path attributes</li>
<span class='line'> 15</span> </ul>
<span class='line'> 16</span> <p>Let's say you want to create an arrow of a square shape. First of all, you need a SVG path describing
<span class='line'> 17</span> the square. Note that the symmetry of the square is along the origin (0, 0). After you have created the path,
<span class='line'> 18</span> you need to specify the dx, dy offsets. The offsets tell the Joint library where to start drawing the connection.
<span class='line'> 19</span> For our square arrow, they equal to its size. As the last thing, you can set some default path attributes
<span class='line'> 20</span> suitable for you arrows. A good practice is to set the fill attribute. Doing so allows you to grab your arrow
<span class='line'> 21</span> by mouse wherever inside your arrow shape.</p>
<span class='line'> 22</span> <pre>
<span class='line'> 23</span> Joint.arrows.square = function(size){
<span class='line'> 24</span> var minusSize = (-size).toString();
<span class='line'> 25</span> size = size.toString();
<span class='line'> 26</span> return {
<span class='line'> 27</span> path: ["M", size, size,
<span class='line'> 28</span> "L", minusSize, size,
<span class='line'> 29</span> "L", minusSize, minusSize,
<span class='line'> 30</span> "L", size, minusSize, "z"],
<span class='line'> 31</span> dx: size,
<span class='line'> 32</span> dy: size,
<span class='line'> 33</span> attrs: {
<span class='line'> 34</span> stroke: "black",
<span class='line'> 35</span> fill: "white"
<span class='line'> 36</span> }
<span class='line'> 37</span> };
<span class='line'> 38</span> };
<span class='line'> 39</span> Joint({x: 20, y: 20}, {x: 300, y: 30}, {
<span class='line'> 40</span> startArrow: {
<span class='line'> 41</span> type: "square",
<span class='line'> 42</span> size: 10
<span class='line'> 43</span> }
<span class='line'> 44</span> });
<span class='line'> 45</span> </pre>
<span class='line'> 46</span> */</span><span class="WHIT">
<span class='line'> 47</span> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">arrows</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">global.Joint.arrows</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 48</span>
<span class='line'> 49</span> </span><span class="COMM">/**
<span class='line'> 50</span> * Hand arrow.
<span class='line'> 51</span> * @name Joint.arrows.hand
<span class='line'> 52</span> * @memberOf Joint.arrows
<span class='line'> 53</span> * @example
<span class='line'> 54</span> Joint({x: 40, y: 40}, {x: 300, y: 70}, {
<span class='line'> 55</span> startArrow: {
<span class='line'> 56</span> type: "flower"
<span class='line'> 57</span> },
<span class='line'> 58</span> endArrow: {
<span class='line'> 59</span> type: "hand"
<span class='line'> 60</span> }
<span class='line'> 61</span> });
<span class='line'> 62</span> */</span><span class="WHIT">
<span class='line'> 63</span> </span><span class="NAME">arrows.hand</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 64</span> </span><span class="WHIT"> </span><span class="COMM">// size is scale here!</span><span class="WHIT">
<span class='line'> 65</span> </span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NUMB">0.1</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NAME">size</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 66</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 67</span> </span><span class="WHIT"> </span><span class="NAME">path</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="STRN">"M"</span><span class="PUNC">,</span><span class="STRN">"-15.681352"</span><span class="PUNC">,</span><span class="STRN">"-5.1927657"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-15.208304"</span><span class="PUNC">,</span><span class="STRN">"-5.2925912"</span><span class="PUNC">,</span><span class="STRN">"-14.311293"</span><span class="PUNC">,</span><span class="STRN">"-5.5561164"</span><span class="PUNC">,</span><span class="STRN">"-13.687993"</span><span class="PUNC">,</span><span class="STRN">"-5.7783788"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-13.06469"</span><span class="PUNC">,</span><span class="STRN">"-6.0006406"</span><span class="PUNC">,</span><span class="STRN">"-12.343434"</span><span class="PUNC">,</span><span class="STRN">"-6.2537623"</span><span class="PUNC">,</span><span class="STRN">"-12.085196"</span><span class="PUNC">,</span><span class="STRN">"-6.3408738"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-10.972026"</span><span class="PUNC">,</span><span class="STRN">"-6.7163768"</span><span class="PUNC">,</span><span class="STRN">"-7.6682017"</span><span class="PUNC">,</span><span class="STRN">"-8.1305627"</span><span class="PUNC">,</span><span class="STRN">"-5.9385615"</span><span class="PUNC">,</span><span class="STRN">"-8.9719142"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-4.9071402"</span><span class="PUNC">,</span><span class="STRN">"-9.4736293"</span><span class="PUNC">,</span><span class="STRN">"-3.9010109"</span><span class="PUNC">,</span><span class="STRN">"-9.8815423"</span><span class="PUNC">,</span><span class="STRN">"-3.7027167"</span><span class="PUNC">,</span><span class="STRN">"-9.8783923"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-3.5044204"</span><span class="PUNC">,</span><span class="STRN">"-9.8752373"</span><span class="PUNC">,</span><span class="STRN">"-2.6780248"</span><span class="PUNC">,</span><span class="STRN">"-9.5023173"</span><span class="PUNC">,</span><span class="STRN">"-1.8662751"</span><span class="PUNC">,</span><span class="STRN">"-9.0496708"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-0.49317056"</span><span class="PUNC">,</span><span class="STRN">"-8.2840047"</span><span class="PUNC">,</span><span class="STRN">"-0.31169266"</span><span class="PUNC">,</span><span class="STRN">"-8.2208528"</span><span class="PUNC">,</span><span class="STRN">"0.73932854"</span><span class="PUNC">,</span><span class="STRN">"-8.142924"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"1.8690327"</span><span class="PUNC">,</span><span class="STRN">"-8.0591623"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"2.039166"</span><span class="PUNC">,</span><span class="STRN">"-7.4474021"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.1327395"</span><span class="PUNC">,</span><span class="STRN">"-7.1109323"</span><span class="PUNC">,</span><span class="STRN">"2.1514594"</span><span class="PUNC">,</span><span class="STRN">"-6.8205328"</span><span class="PUNC">,</span><span class="STRN">"2.0807586"</span><span class="PUNC">,</span><span class="STRN">"-6.8020721"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.010064"</span><span class="PUNC">,</span><span class="STRN">"-6.783614"</span><span class="PUNC">,</span><span class="STRN">"1.3825264"</span><span class="PUNC">,</span><span class="STRN">"-6.7940997"</span><span class="PUNC">,</span><span class="STRN">"0.68622374"</span><span class="PUNC">,</span><span class="STRN">"-6.8253794"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-0.66190616"</span><span class="PUNC">,</span><span class="STRN">"-6.8859445"</span><span class="PUNC">,</span><span class="STRN">"-1.1814444"</span><span class="PUNC">,</span><span class="STRN">"-6.8071497"</span><span class="PUNC">,</span><span class="STRN">"-1.0407498"</span><span class="PUNC">,</span><span class="STRN">"-6.5634547"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-0.99301966"</span><span class="PUNC">,</span><span class="STRN">"-6.4807831"</span><span class="PUNC">,</span><span class="STRN">"-0.58251196"</span><span class="PUNC">,</span><span class="STRN">"-6.4431792"</span><span class="PUNC">,</span><span class="STRN">"-0.12850911"</span><span class="PUNC">,</span><span class="STRN">"-6.4798929"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"1.2241412"</span><span class="PUNC">,</span><span class="STRN">"-6.5892761"</span><span class="PUNC">,</span><span class="STRN">"4.7877672"</span><span class="PUNC">,</span><span class="STRN">"-6.1187783"</span><span class="PUNC">,</span><span class="STRN">"8.420785"</span><span class="PUNC">,</span><span class="STRN">"-5.3511477"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"14.547755"</span><span class="PUNC">,</span><span class="STRN">"-4.056566"</span><span class="PUNC">,</span><span class="STRN">"16.233479"</span><span class="PUNC">,</span><span class="STRN">"-2.9820024"</span><span class="PUNC">,</span><span class="STRN">"15.666933"</span><span class="PUNC">,</span><span class="STRN">"-0.73209438"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"15.450654"</span><span class="PUNC">,</span><span class="STRN">"0.12678873"</span><span class="PUNC">,</span><span class="STRN">"14.920327"</span><span class="PUNC">,</span><span class="STRN">"0.61899573"</span><span class="PUNC">,</span><span class="STRN">"14.057658"</span><span class="PUNC">,</span><span class="STRN">"0.76150753"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"13.507869"</span><span class="PUNC">,</span><span class="STRN">"0.85232533"</span><span class="PUNC">,</span><span class="STRN">"12.818867"</span><span class="PUNC">,</span><span class="STRN">"0.71394493"</span><span class="PUNC">,</span><span class="STRN">"9.8149232"</span><span class="PUNC">,</span><span class="STRN">"-0.090643373"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"7.4172698"</span><span class="PUNC">,</span><span class="STRN">"-0.73284018"</span><span class="PUNC">,</span><span class="STRN">"6.1067424"</span><span class="PUNC">,</span><span class="STRN">"-1.0191399"</span><span class="PUNC">,</span><span class="STRN">"5.8609814"</span><span class="PUNC">,</span><span class="STRN">"-0.95442248"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"5.6587992"</span><span class="PUNC">,</span><span class="STRN">"-0.90118658"</span><span class="PUNC">,</span><span class="STRN">"4.8309652"</span><span class="PUNC">,</span><span class="STRN">"-0.89582008"</span><span class="PUNC">,</span><span class="STRN">"4.0213424"</span><span class="PUNC">,</span><span class="STRN">"-0.94250688"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"3.0856752"</span><span class="PUNC">,</span><span class="STRN">"-0.99645868"</span><span class="PUNC">,</span><span class="STRN">"2.5291546"</span><span class="PUNC">,</span><span class="STRN">"-0.95219288"</span><span class="PUNC">,</span><span class="STRN">"2.4940055"</span><span class="PUNC">,</span><span class="STRN">"-0.82101488"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.4635907"</span><span class="PUNC">,</span><span class="STRN">"-0.70750508"</span><span class="PUNC">,</span><span class="STRN">"2.4568664"</span><span class="PUNC">,</span><span class="STRN">"-0.61069078"</span><span class="PUNC">,</span><span class="STRN">"2.4790596"</span><span class="PUNC">,</span><span class="STRN">"-0.60585818"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.5012534"</span><span class="PUNC">,</span><span class="STRN">"-0.60103228"</span><span class="PUNC">,</span><span class="STRN">"2.9422761"</span><span class="PUNC">,</span><span class="STRN">"-0.59725718"</span><span class="PUNC">,</span><span class="STRN">"3.4591019"</span><span class="PUNC">,</span><span class="STRN">"-0.59747878"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"3.9759261"</span><span class="PUNC">,</span><span class="STRN">"-0.59770008"</span><span class="PUNC">,</span><span class="STRN">"4.4500472"</span><span class="PUNC">,</span><span class="STRN">"-0.58505968"</span><span class="PUNC">,</span><span class="STRN">"4.512693"</span><span class="PUNC">,</span><span class="STRN">"-0.56939128"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"4.7453841"</span><span class="PUNC">,</span><span class="STRN">"-0.51117988"</span><span class="PUNC">,</span><span class="STRN">"4.6195024"</span><span class="PUNC">,</span><span class="STRN">"0.92436343"</span><span class="PUNC">,</span><span class="STRN">"4.318067"</span><span class="PUNC">,</span><span class="STRN">"1.650062"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"3.8772746"</span><span class="PUNC">,</span><span class="STRN">"2.7112738"</span><span class="PUNC">,</span><span class="STRN">"2.9836566"</span><span class="PUNC">,</span><span class="STRN">"3.9064107"</span><span class="PUNC">,</span><span class="STRN">"2.2797382"</span><span class="PUNC">,</span><span class="STRN">"4.3761637"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"1.5987482"</span><span class="PUNC">,</span><span class="STRN">"4.8306065"</span><span class="PUNC">,</span><span class="STRN">"1.52359"</span><span class="PUNC">,</span><span class="STRN">"4.9484512"</span><span class="PUNC">,</span><span class="STRN">"1.8576616"</span><span class="PUNC">,</span><span class="STRN">"5.0379653"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"1.9860795"</span><span class="PUNC">,</span><span class="STRN">"5.0723748"</span><span class="PUNC">,</span><span class="STRN">"2.2155555"</span><span class="PUNC">,</span><span class="STRN">"4.9678227"</span><span class="PUNC">,</span><span class="STRN">"2.3676284"</span><span class="PUNC">,</span><span class="STRN">"4.8056312"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.6253563"</span><span class="PUNC">,</span><span class="STRN">"4.5307504"</span><span class="PUNC">,</span><span class="STRN">"2.6497332"</span><span class="PUNC">,</span><span class="STRN">"4.5328675"</span><span class="PUNC">,</span><span class="STRN">"2.7268401"</span><span class="PUNC">,</span><span class="STRN">"4.8368824"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.8605098"</span><span class="PUNC">,</span><span class="STRN">"5.3638848"</span><span class="PUNC">,</span><span class="STRN">"2.3264901"</span><span class="PUNC">,</span><span class="STRN">"6.4808604"</span><span class="PUNC">,</span><span class="STRN">"1.6782299"</span><span class="PUNC">,</span><span class="STRN">"7.0301956"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"1.3498639"</span><span class="PUNC">,</span><span class="STRN">"7.30845"</span><span class="PUNC">,</span><span class="STRN">"0.75844624"</span><span class="PUNC">,</span><span class="STRN">"8.0404548"</span><span class="PUNC">,</span><span class="STRN">"0.36396655"</span><span class="PUNC">,</span><span class="STRN">"8.6568609"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-0.58027706"</span><span class="PUNC">,</span><span class="STRN">"10.132325"</span><span class="PUNC">,</span><span class="STRN">"-0.69217806"</span><span class="PUNC">,</span><span class="STRN">"10.238528"</span><span class="PUNC">,</span><span class="STRN">"-1.4487256"</span><span class="PUNC">,</span><span class="STRN">"10.377186"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-2.2048498"</span><span class="PUNC">,</span><span class="STRN">"10.515767"</span><span class="PUNC">,</span><span class="STRN">"-4.6836995"</span><span class="PUNC">,</span><span class="STRN">"9.9021604"</span><span class="PUNC">,</span><span class="STRN">"-6.41268"</span><span class="PUNC">,</span><span class="STRN">"9.1484214"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-9.9464649"</span><span class="PUNC">,</span><span class="STRN">"7.6078865"</span><span class="PUNC">,</span><span class="STRN">"-10.697587"</span><span class="PUNC">,</span><span class="STRN">"7.3186028"</span><span class="PUNC">,</span><span class="STRN">"-12.142194"</span><span class="PUNC">,</span><span class="STRN">"6.9417312"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-13.020384"</span><span class="PUNC">,</span><span class="STRN">"6.712621"</span><span class="PUNC">,</span><span class="STRN">"-14.184145"</span><span class="PUNC">,</span><span class="STRN">"6.4654454"</span><span class="PUNC">,</span><span class="STRN">"-14.72833"</span><span class="PUNC">,</span><span class="STRN">"6.3924328"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-15.272516"</span><span class="PUNC">,</span><span class="STRN">"6.3194263"</span><span class="PUNC">,</span><span class="STRN">"-15.731691"</span><span class="PUNC">,</span><span class="STRN">"6.241583"</span><span class="PUNC">,</span><span class="STRN">"-15.748724"</span><span class="PUNC">,</span><span class="STRN">"6.2194535"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-15.813855"</span><span class="PUNC">,</span><span class="STRN">"6.1348086"</span><span class="PUNC">,</span><span class="STRN">"-16.609132"</span><span class="PUNC">,</span><span class="STRN">"-4.7586323"</span><span class="PUNC">,</span><span class="STRN">"-16.562804"</span><span class="PUNC">,</span><span class="STRN">"-4.9315285"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-16.551052"</span><span class="PUNC">,</span><span class="STRN">"-4.9753876"</span><span class="PUNC">,</span><span class="STRN">"-16.154402"</span><span class="PUNC">,</span><span class="STRN">"-5.0929474"</span><span class="PUNC">,</span><span class="STRN">"-15.681351"</span><span class="PUNC">,</span><span class="STRN">"-5.192769"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-15.681352"</span><span class="PUNC">,</span><span class="STRN">"-5.1927657"</span><span class="PUNC">,</span><span class="STRN">"z"</span><span class="PUNC">,</span><span class="STRN">"M"</span><span class="PUNC">,</span><span class="STRN">"11.288619"</span><span class="PUNC">,</span><span class="STRN">"-1.446424"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"10.957631"</span><span class="PUNC">,</span><span class="STRN">"-0.2111606"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"11.627189"</span><span class="PUNC">,</span><span class="STRN">"-0.031753373"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"13.374637"</span><span class="PUNC">,</span><span class="STRN">"0.43647423"</span><span class="PUNC">,</span><span class="STRN">"14.580622"</span><span class="PUNC">,</span><span class="STRN">"0.18262123"</span><span class="PUNC">,</span><span class="STRN">"15.042031"</span><span class="PUNC">,</span><span class="STRN">"-0.75056578"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"15.503958"</span><span class="PUNC">,</span><span class="STRN">"-1.6847955"</span><span class="PUNC">,</span><span class="STRN">"14.648263"</span><span class="PUNC">,</span><span class="STRN">"-2.6070187"</span><span class="PUNC">,</span><span class="STRN">"12.514834"</span><span class="PUNC">,</span><span class="STRN">"-3.4742549"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"11.634779"</span><span class="PUNC">,</span><span class="STRN">"-3.8320046"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"11.627191"</span><span class="PUNC">,</span><span class="STRN">"-3.2568392"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"11.623019"</span><span class="PUNC">,</span><span class="STRN">"-2.9405087"</span><span class="PUNC">,</span><span class="STRN">"11.470661"</span><span class="PUNC">,</span><span class="STRN">"-2.1258178"</span><span class="PUNC">,</span><span class="STRN">"11.288619"</span><span class="PUNC">,</span><span class="STRN">"-1.446424"</span><span class="PUNC">,</span><span class="STRN">"z"</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 68</span> </span><span class="WHIT"> </span><span class="NAME">dx</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">17</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 69</span> </span><span class="NAME">dy</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">17</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 70</span> </span><span class="WHIT"> </span><span class="NAME">attrs</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 71</span> </span><span class="WHIT"> </span><span class="NAME">scale</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">size</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 72</span> </span><span class="WHIT"> </span><span class="NAME">fill</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"white"</span><span class="WHIT">
<span class='line'> 73</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
<span class='line'> 74</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 75</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 76</span> </span><span class="COMM">/**
<span class='line'> 77</span> * Flower arrow.
<span class='line'> 78</span> * @name Joint.arrows.flower
<span class='line'> 79</span> * @memberOf Joint.arrows
<span class='line'> 80</span> */</span><span class="WHIT">
<span class='line'> 81</span> </span><span class="NAME">arrows.flower</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 82</span> </span><span class="WHIT"> </span><span class="COMM">// size is scale here!</span><span class="WHIT">
<span class='line'> 83</span> </span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NUMB">0.1</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NAME">size</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 84</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 85</span> </span><span class="WHIT"> </span><span class="NAME">path</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="STRN">"M"</span><span class="PUNC">,</span><span class="STRN">"14.407634"</span><span class="PUNC">,</span><span class="STRN">"0.14101164"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"13.49394"</span><span class="PUNC">,</span><span class="STRN">"-0.67828198"</span><span class="PUNC">,</span><span class="STRN">"12.640683"</span><span class="PUNC">,</span><span class="STRN">"-1.3981484"</span><span class="PUNC">,</span><span class="STRN">"11.695412"</span><span class="PUNC">,</span><span class="STRN">"-1.9684748"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"9.0580339"</span><span class="PUNC">,</span><span class="STRN">"-3.5615387"</span><span class="PUNC">,</span><span class="STRN">"6.1975385"</span><span class="PUNC">,</span><span class="STRN">"-4.0965167"</span><span class="PUNC">,</span><span class="STRN">"3.8809003"</span><span class="PUNC">,</span><span class="STRN">"-3.2050972"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-1.0202735"</span><span class="PUNC">,</span><span class="STRN">"-1.4355585"</span><span class="PUNC">,</span><span class="STRN">"-2.2650956"</span><span class="PUNC">,</span><span class="STRN">"-0.75266958"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"-0.75266958"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"-2.0100414"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-1.8745566"</span><span class="PUNC">,</span><span class="STRN">"-2.0888183"</span><span class="PUNC">,</span><span class="STRN">"1.0024122"</span><span class="PUNC">,</span><span class="STRN">"-3.7090503"</span><span class="PUNC">,</span><span class="STRN">"1.8649218"</span><span class="PUNC">,</span><span class="STRN">"-6.1147565"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.2734082"</span><span class="PUNC">,</span><span class="STRN">"-7.1733737"</span><span class="PUNC">,</span><span class="STRN">"2.0690534"</span><span class="PUNC">,</span><span class="STRN">"-8.5444386"</span><span class="PUNC">,</span><span class="STRN">"0.7737959"</span><span class="PUNC">,</span><span class="STRN">"-9.8037723"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-0.82956951"</span><span class="PUNC">,</span><span class="STRN">"-11.36162"</span><span class="PUNC">,</span><span class="STRN">"-5.2455289"</span><span class="PUNC">,</span><span class="STRN">"-11.821547"</span><span class="PUNC">,</span><span class="STRN">"-6.0950803"</span><span class="PUNC">,</span><span class="STRN">"-7.2474282"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-5.3751604"</span><span class="PUNC">,</span><span class="STRN">"-7.7316963"</span><span class="PUNC">,</span><span class="STRN">"-3.8041596"</span><span class="PUNC">,</span><span class="STRN">"-7.6860056"</span><span class="PUNC">,</span><span class="STRN">"-3.2477662"</span><span class="PUNC">,</span><span class="STRN">"-6.7174716"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-2.8775009"</span><span class="PUNC">,</span><span class="STRN">"-5.9772878"</span><span class="PUNC">,</span><span class="STRN">"-3.0228781"</span><span class="PUNC">,</span><span class="STRN">"-5.1443269"</span><span class="PUNC">,</span><span class="STRN">"-3.3412911"</span><span class="PUNC">,</span><span class="STRN">"-4.7534348"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-3.7218578"</span><span class="PUNC">,</span><span class="STRN">"-4.1236184"</span><span class="PUNC">,</span><span class="STRN">"-4.935379"</span><span class="PUNC">,</span><span class="STRN">"-3.5168459"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"-3.5168459"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"-5.6886834"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-8.5890734"</span><span class="PUNC">,</span><span class="STRN">"-5.6886834"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-8.5890734"</span><span class="PUNC">,</span><span class="STRN">"-1.1787104"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-9.8368017"</span><span class="PUNC">,</span><span class="STRN">"-1.2379009"</span><span class="PUNC">,</span><span class="STRN">"-10.838424"</span><span class="PUNC">,</span><span class="STRN">"-1.918296"</span><span class="PUNC">,</span><span class="STRN">"-11.394817"</span><span class="PUNC">,</span><span class="STRN">"-3.1843135"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-11.92063"</span><span class="PUNC">,</span><span class="STRN">"-3.0214395"</span><span class="PUNC">,</span><span class="STRN">"-12.984452"</span><span class="PUNC">,</span><span class="STRN">"-2.2582108"</span><span class="PUNC">,</span><span class="STRN">"-12.911997"</span><span class="PUNC">,</span><span class="STRN">"-1.2099015"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-14.045721"</span><span class="PUNC">,</span><span class="STRN">"-1.0028338"</span><span class="PUNC">,</span><span class="STRN">"-14.687381"</span><span class="PUNC">,</span><span class="STRN">"-0.80225028"</span><span class="PUNC">,</span><span class="STRN">"-15.717737"</span><span class="PUNC">,</span><span class="STRN">"0.14101164"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-14.687714"</span><span class="PUNC">,</span><span class="STRN">"1.0836088"</span><span class="PUNC">,</span><span class="STRN">"-14.046053"</span><span class="PUNC">,</span><span class="STRN">"1.2744822"</span><span class="PUNC">,</span><span class="STRN">"-12.911997"</span><span class="PUNC">,</span><span class="STRN">"1.4815506"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-12.984786"</span><span class="PUNC">,</span><span class="STRN">"2.5298263"</span><span class="PUNC">,</span><span class="STRN">"-11.92063"</span><span class="PUNC">,</span><span class="STRN">"3.2930879"</span><span class="PUNC">,</span><span class="STRN">"-11.394817"</span><span class="PUNC">,</span><span class="STRN">"3.4559626"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-10.838424"</span><span class="PUNC">,</span><span class="STRN">"2.1902771"</span><span class="PUNC">,</span><span class="STRN">"-9.8368017"</span><span class="PUNC">,</span><span class="STRN">"1.5095164"</span><span class="PUNC">,</span><span class="STRN">"-8.5890734"</span><span class="PUNC">,</span><span class="STRN">"1.4503588"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-8.5890734"</span><span class="PUNC">,</span><span class="STRN">"5.9603315"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"5.9603315"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"3.788495"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-4.935379"</span><span class="PUNC">,</span><span class="STRN">"3.788495"</span><span class="PUNC">,</span><span class="STRN">"-3.7218578"</span><span class="PUNC">,</span><span class="STRN">"4.3958989"</span><span class="PUNC">,</span><span class="STRN">"-3.3412911"</span><span class="PUNC">,</span><span class="STRN">"5.0250837"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-3.0228781"</span><span class="PUNC">,</span><span class="STRN">"5.4159757"</span><span class="PUNC">,</span><span class="STRN">"-2.8775009"</span><span class="PUNC">,</span><span class="STRN">"6.2482381"</span><span class="PUNC">,</span><span class="STRN">"-3.2477662"</span><span class="PUNC">,</span><span class="STRN">"6.9891209"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-3.8041596"</span><span class="PUNC">,</span><span class="STRN">"7.9569902"</span><span class="PUNC">,</span><span class="STRN">"-5.3751604"</span><span class="PUNC">,</span><span class="STRN">"8.003345"</span><span class="PUNC">,</span><span class="STRN">"-6.0950803"</span><span class="PUNC">,</span><span class="STRN">"7.5190778"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-5.2455353"</span><span class="PUNC">,</span><span class="STRN">"12.093197"</span><span class="PUNC">,</span><span class="STRN">"-0.82956631"</span><span class="PUNC">,</span><span class="STRN">"11.643978"</span><span class="PUNC">,</span><span class="STRN">"0.7737959"</span><span class="PUNC">,</span><span class="STRN">"10.08583"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"2.0693864"</span><span class="PUNC">,</span><span class="STRN">"8.827128"</span><span class="PUNC">,</span><span class="STRN">"2.2734082"</span><span class="PUNC">,</span><span class="STRN">"7.4453226"</span><span class="PUNC">,</span><span class="STRN">"1.8649218"</span><span class="PUNC">,</span><span class="STRN">"6.3864056"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"1.00208"</span><span class="PUNC">,</span><span class="STRN">"3.980998"</span><span class="PUNC">,</span><span class="STRN">"-1.8745566"</span><span class="PUNC">,</span><span class="STRN">"2.3705098"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"2.2920986"</span><span class="PUNC">,</span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="STRN">"-6.1678175"</span><span class="PUNC">,</span><span class="STRN">"1.0243179"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"-2.2650956"</span><span class="PUNC">,</span><span class="STRN">"1.0243179"</span><span class="PUNC">,</span><span class="STRN">"-1.0206064"</span><span class="PUNC">,</span><span class="STRN">"1.7065088"</span><span class="PUNC">,</span><span class="STRN">"3.8809003"</span><span class="PUNC">,</span><span class="STRN">"3.4767455"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"6.1975385"</span><span class="PUNC">,</span><span class="STRN">"4.367168"</span><span class="PUNC">,</span><span class="STRN">"9.0580339"</span><span class="PUNC">,</span><span class="STRN">"3.8331873"</span><span class="PUNC">,</span><span class="STRN">"11.695412"</span><span class="PUNC">,</span><span class="STRN">"2.2401238"</span><span class="PUNC">,</span><span class="STRN">"C"</span><span class="PUNC">,</span><span class="STRN">"12.640683"</span><span class="PUNC">,</span><span class="STRN">"1.669431"</span><span class="PUNC">,</span><span class="STRN">"13.493608"</span><span class="PUNC">,</span><span class="STRN">"0.95964074"</span><span class="PUNC">,</span><span class="STRN">"14.407634"</span><span class="PUNC">,</span><span class="STRN">"0.14101164"</span><span class="PUNC">,</span><span class="STRN">"z"</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 86</span> </span><span class="WHIT"> </span><span class="NAME">dx</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">15</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 87</span> </span><span class="NAME">dy</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">15</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 88</span> </span><span class="WHIT"> </span><span class="NAME">attrs</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='line'> 89</span> </span><span class="WHIT"> </span><span class="NAME">scale</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">size</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'> 90</span> </span><span class="WHIT"> </span><span class="NAME">fill</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"white"</span><span class="WHIT">
<span class='line'> 91</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
<span class='line'> 92</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 93</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 94</span> </span><span class="COMM">/**
<span class='line'> 95</span> * Rectangle arrow.
<span class='line'> 96</span> * @name Joint.arrows.rect
<span class='line'> 97</span> * @memberOf Joint.arrows
<span class='line'> 98</span> */</span><span class="WHIT">
<span class='line'> 99</span> </span><span class="NAME">arrows.rect</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
<span class='line'>100</span> </span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">size</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="NAME">size</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">5</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
<span class='line'>101</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='line'>102</span> </span><span class="WHIT"> </span><span class="NAME">path</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="STRN">"M"</span><span class="PUNC">,</span><span class="PUNC">(</span><span class="NUMB">3</span><span class="PUNC">*</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="NAME">size.toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>103</span> </span><span class="WHIT"> </span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="PUNC">(</span><span class="PUNC">-</span><span class="NUMB">3</span><span class="PUNC">*</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="NAME">size.toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>104</span> </span><span class="WHIT"> </span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="PUNC">(</span><span class="PUNC">-</span><span class="NUMB">3</span><span class="PUNC">*</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="PUNC">(</span><span class="PUNC">-</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>105</span> </span><span class="WHIT"> </span><span class="STRN">"L"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NUMB">3</span><span class="PUNC">*</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">-</span><span class="NAME">size</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"z"</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>106</span> </span><span class="WHIT"> </span><span class="NAME">dx</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">*</span><span class="NAME">size</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>107</span> </span><span class="NAME">dy</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">*</span><span class="NAME">size</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>108</span> </span><span class="WHIT"> </span><span class="NAME">attrs</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='line'>109</span> </span><span class="NAME">stroke</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"black"</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>110</span> </span><span class="WHIT"> </span><span class="NAME">fill</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"white"</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>111</span> </span><span class="STRN">"stroke-width"</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NUMB">1.0</span><span class="WHIT">
<span class='line'>112</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
<span class='line'>113</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'>114</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'>115</span>
<span class='line'>116</span> </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'>117</span> </span></pre></body></html>