02-01.svg
上传用户:zaktkj
上传日期:2022-08-08
资源大小:5770k
文件大小:3k
源码类别:

JavaScript

开发平台:

JavaScript

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="950" height="400" viewBox="0 0 950 400" style="font-weight:bold;font-family:arial,'lucida console',sans-serif,榛戜綋;font-size:14px;">
  3.     <defs>
  4.         <linearGradient id="line" x1="50%" x2="50%" y1="0%" y2="100%">
  5.             <stop offset="20%" stop-color="#88AAEE"/>
  6.             <stop offset="100%" stop-color="#224499"/>
  7.         </linearGradient>
  8.         <marker id="arrow" markerWidth="10" markerHeight="8" refX="4" refY="4" orient="auto">
  9.             <path d="M0,0 8,4 0,8Z" fill="white" stroke="black"/>
  10.         </marker>
  11.         <g id="bg">
  12.             <rect x="0" y="0" width="10" height="10" rx="5" ry="5"
  13.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  14.         </g>
  15.     </defs>
  16.     <rect x="0" y="0" width="950" height="700" fill="white"/>
  17.     <g transform="translate(400,10)">
  18.         <rect x="0" y="0" width="130" height="25" rx="5" ry="5"
  19.             stroke="#223388" stroke-width="2" fill="url(#line)"/>
  20.         <text x="10" y="17" fill="white">Ext.dd.DragDrop</text>
  21.         <line x1="65" y1="25" x2="65" y2="45" stroke="black"/>
  22.         <line x1="-20" y1="45" x2="140" y2="45" stroke="black"/>
  23.         <line x1="-20" y1="45" x2="-20" y2="65" stroke="black" marker-end="url(#arrow)"/>
  24.         <line x1="140" y1="45" x2="140" y2="65" stroke="black" marker-end="url(#arrow)"/>
  25.     </g>
  26.     <g transform="translate(310,80)">
  27.         <g transform="translate(0,0)">
  28.             <rect x="0" y="0" width="150" height="25" rx="5" ry="5"
  29.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  30.             <text x="40" y="17" fill="white">Ext.dd.DD</text>
  31.             <line x1="70" y1="25" x2="70" y2="45" stroke="black" marker-end="url(#arrow)"/>
  32.         </g>
  33.         <g transform="translate(0,50)">
  34.             <rect x="0" y="0" width="150" height="25" rx="5" ry="5"
  35.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  36.             <text x="20" y="17" fill="white">Ext.dd.DDProxy</text>
  37.             <line x1="70" y1="25" x2="70" y2="45" stroke="black" marker-end="url(#arrow)"/>
  38.         </g>
  39.         <g transform="translate(0,100)">
  40.             <rect x="0" y="0" width="150" height="25" rx="5" ry="5"
  41.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  42.             <text x="10" y="17" fill="white">Ext.dd.DragSource</text>
  43.             <line x1="70" y1="25" x2="70" y2="45" stroke="black" marker-end="url(#arrow)"/>
  44.         </g>
  45.         <g transform="translate(0,150)">
  46.             <rect x="0" y="0" width="150" height="25" rx="5" ry="5"
  47.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  48.             <text x="20" y="17" fill="white">Ext.dd.DragZone</text>
  49.         </g>
  50.     </g>
  51.     <g transform="translate(470,80)">
  52.         <g transform="translate(0,0)">
  53.             <rect x="0" y="0" width="150" height="25" rx="5" ry="5"
  54.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  55.             <text x="20" y="17" fill="white">Ext.dd.DDTarget</text>
  56.             <line x1="70" y1="25" x2="70" y2="45" stroke="black" marker-end="url(#arrow)"/>
  57.         </g>
  58.         <g transform="translate(0,50)">
  59.             <rect x="0" y="0" width="150" height="25" rx="5" ry="5"
  60.                 stroke="#223388" stroke-width="2" fill="url(#line)"/>
  61.             <text x="20" y="17" fill="white">Ext.dd.DropZone</text>
  62.         </g>
  63.     </g>
  64. </svg>