Open marconimedeiros2 opened 2 weeks ago
Hello,
I use the library to generate SVG files.
In some generations, some elements are coming with a blank stroke ("") and this limits opening them in specific software such as Microsoft Office Visio, I imagine you are familiar with it.
Can you check it, please?
I will demonstrate in the code below.
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2439" height="442" viewBox="0 0 2439 442"> <defs> <path d="M88.5,263.0 V50" id="d0" /> </defs> <rect x="0" y="0" width="5000" height="5000" fill="white" /> <text x="20" y="20" font-size="26" text-anchor="start" dominant-baseline="Hanging" font-family="Arial" stroke="#0B5394">Processo de Conserto de Cano</text> <rect x="72" y="59" width="2349" height="320" fill="#D9D9D9" /> <rect x="72" y="59" width="50" height="320" fill="#0B5394" /> <text font-size="18" stroke="white" text-anchor="Start" dominant-baseline="Hanging" font-family="Arial"><textPath xlink:href="#d0"> <tspan dy="0em">Encanador</tspan> </textPath></text> <path d="M122,59 L122,379" stroke="white" stroke-width="1" /> <circle cx="237.0" cy="146.0" r="30" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="252.0" y="176.0" font-size="15" text-anchor="start" dominant-baseline="Hanging" font-family="Arial" stroke="black">start</text> <rect x="402" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="435.0" y="130.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Identificar</text> <text x="430.5" y="148.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">vazamento</text> <rect x="632" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="669.5" y="116.5" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Desligar</text> <text x="644.5" y="139.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">fornecimento de</text> <text x="681.0" y="158.5" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">água</text> <rect x="862" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="880.5" y="139.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Drenar o cano</text> <rect x="1092" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="1116.5" y="139.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Avaliar dano</text> BELOW <path d="M1387.0,109 L1442,146.0 L1387.0,183 L1332,146.0 Z" fill="#9FC5E8" stroke="" stroke-width="1" /> ABOVE <text x="1345.0" y="183" font-size="15" text-anchor="start" dominant-baseline="Hanging" font-family="Arial" stroke="black">Dano grave?</text> <text x="1379.0" y="135.5" font-size="23" text-anchor="start" dominant-baseline="Hanging" font-family="Arial" stroke="black">X</text> <rect x="1552" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="1571.5" y="139.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Trocar o cano</text> <rect x="1322" y="283" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="1336.5" y="311.5" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Reparar o cano</text> <rect x="1782" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="1803.0" y="137.5" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Testar reparo</text> <rect x="2012" y="109" width="130" height="74" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="2052.5" y="121.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">Reabrir</text> <text x="2024.5" y="139.0" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">fornecimento de</text> <text x="2061.0" y="158.5" font-size="15" stroke="black" text-anchor="start" dominant-baseline="hanging" font-family="Arial">água</text> <circle cx="2307.0" cy="146.0" r="30" fill="#9FC5E8" stroke="black" stroke-width="1" /> <text x="2322.0" y="176.0" font-size="15" text-anchor="start" dominant-baseline="Hanging" font-family="Arial" stroke="black">end</text> <circle cx="2307.0" cy="146.0" r="30" fill="none" stroke="black" stroke-width="3" /> <path d="M267.0,146.0 L402,146" stroke="#000000" stroke-width="1" /> <text x="334.5" y="151.0" font-size="15" text-anchor="start" dominant-baseline="Hanging" font-family="Arial" stroke="#000000"></text> <path d="M402,146 L389.0,154.0 L389.0,138.0 L402,146 Z" fill="#000000" stroke="#000000" stroke-width="2" /> <path d="M532,146 L632,146" stroke="#000000" stroke-wid
Hi, can you share your python code?
Hello,
I use the library to generate SVG files.
In some generations, some elements are coming with a blank stroke ("") and this limits opening them in specific software such as Microsoft Office Visio, I imagine you are familiar with it.
Can you check it, please?
I will demonstrate in the code below.