Skip to content

Instantly share code, notes, and snippets.

@jmarrec
Last active July 29, 2021 08:37
Show Gist options
  • Save jmarrec/3645262ad8762187adbe99b94a63cf85 to your computer and use it in GitHub Desktop.
Save jmarrec/3645262ad8762187adbe99b94a63cf85 to your computer and use it in GitHub Desktop.
8847_HVAC_Diagram_SVG_NotRendered
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0"?>
<svg width="300" height="90mm" viewBox="0 0 100 40"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ev="http://www.w3.org/2001/xml-events">
<g font-family="Verdana" font-size="8" >
<!-- Horizontal Lines -->
<line x1="0" y1="0" x2="100" y2="0" style = "stroke:silver;"/>
<line x1="0" y1="10" x2="100" y2="10" style = "stroke:silver;"/>
<line x1="0" y1="20" x2="100" y2="20" style = "stroke:silver;"/>
<line x1="0" y1="30" x2="100" y2="30" style = "stroke:silver;"/>
<line x1="0" y1="40" x2="100" y2="40" style = "stroke:silver;"/>
<!-- Vertical Lines -->
<line x1="0" y1="0" x2="0" y2="40" style = "stroke:silver;"/>
<line x1="10" y1="0" x2="10" y2="40" style = "stroke:silver;"/>
<line x1="20" y1="0" x2="20" y2="40" style = "stroke:silver;"/>
<line x1="30" y1="0" x2="30" y2="40" style = "stroke:silver;"/>
<line x1="40" y1="0" x2="40" y2="40" style = "stroke:silver;"/>
<line x1="50" y1="0" x2="50" y2="40" style = "stroke:silver;"/>
<line x1="60" y1="0" x2="60" y2="40" style = "stroke:silver;"/>
<line x1="70" y1="0" x2="70" y2="40" style = "stroke:silver;"/>
<line x1="80" y1="0" x2="80" y2="40" style = "stroke:silver;"/>
<line x1="90" y1="0" x2="90" y2="40" style = "stroke:silver;"/>
<line x1="100" y1="0" x2="100" y2="40" style = "stroke:silver;"/>
<!-- Two rectangles, doesn't matter if there is a space or not -->
<rect x=" 10" y=" 10" width=" 40" height=" 20" style = "fill:red; stroke: Black;"/> 1
<rect x="50" y="10" width="40" height="20" style = "fill:green; stroke: Black;"/> 1
<!-- Here the space DOES matter -->
<text x=" 12" y=" 23">x='&#160;&#160;12'</text>
<text x="52" y="23">x='52'</text>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment