I'm trying to add this .svg image to my tex file but for some reason, it's not being interpreted correctly by Overleaf.
The image I'm trying to add -
Here's the .svg code -
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="662" height="548.328125" style="
width:662px;
height:548.328125px;
background: #FFF;
fill: none;
">
<svg xmlns="http://www.w3.org/2000/svg" />
<svg xmlns="http://www.w3.org/2000/svg" class="role-diagram-draw-area">
<g class="shapes-region" style="stroke: black; fill: none;">
<g />
</g>
<g>
<g class="connection-group">
<g class="arrow-line">
<path class="connection real" stroke-dasharray="" d=" M276.74,242 L162.08,288.25" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
<g stroke="#000" transform="matrix(0.9273798710151121,-0.3741210697568289,0.3741210697568289,0.9273798710151121,160.22754491017963,289)" style="stroke: rgb(0, 0, 0); stroke-width: 1;">
<path d=" M10.93,-3.29 Q4.96,-0.45 0,0 Q4.96,0.45 10.93,3.29" />
</g>
</g>
</g>
<g class="connection-group">
<g class="arrow-line">
<path class="connection real" stroke-dasharray="" d=" M392.97,242 L504.58,287.25" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
<g stroke="#000" transform="matrix(-0.926725494419827,-0.3757390823328433,0.3757390823328433,-0.926725494419827,506.4333333333334,288)" style="stroke: rgb(0, 0, 0); stroke-width: 1;">
<path d=" M10.93,-3.29 Q4.96,-0.45 0,0 Q4.96,0.45 10.93,3.29" />
</g>
</g>
</g>
<g class="connection-group">
<g class="arrow-line">
<path class="connection real" stroke-dasharray="" d=" M279.19,135 L318.18,193.34" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
<g stroke="#000" transform="matrix(-0.5557153433806965,-0.8313726343411085,0.8313726343411085,-0.5557153433806965,319.29274611398966,195.00000000000006)" style="stroke: rgb(0, 0, 0); stroke-width: 1;">
<path d=" M10.93,-3.29 Q4.96,-0.45 0,0 Q4.96,0.45 10.93,3.29" />
</g>
</g>
</g>
<g class="connection-group">
<g class="arrow-line">
<path class="connection real" stroke-dasharray="" d=" M271.35,49 L270.67,107" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
<g stroke="#000" transform="matrix(0.011693439485246033,-0.999931629399233,0.999931629399233,0.011693439485246033,270.6511627906977,109)" style="stroke: rgb(0, 0, 0); stroke-width: 1;">
<path d=" M10.93,-3.29 Q4.96,-0.45 0,0 Q4.96,0.45 10.93,3.29" />
</g>
</g>
</g>
<g class="connection-group">
<g class="arrow-line">
<path class="connection real" stroke-dasharray="" d=" M133.25,315 L156.31,372.15" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
<g stroke="#000" transform="matrix(-0.3742829223794759,-0.9273145604459574,0.9273145604459574,-0.3742829223794759,157.06181818181818,374)" style="stroke: rgb(0, 0, 0); stroke-width: 1;">
<path d=" M10.93,-3.29 Q4.96,-0.45 0,0 Q4.96,0.45 10.93,3.29" />
</g>
</g>
</g>
<g class="connection-group">
<g class="arrow-line">
<path class="connection real" stroke-dasharray="" d=" M534.83,314 L519,370.08" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
<g stroke="#000" transform="matrix(0.271776393576737,-0.9623604272279812,0.9623604272279812,0.271776393576737,518.4557823129252,372)" style="stroke: rgb(0, 0, 0); stroke-width: 1;">
<path d=" M10.93,-3.29 Q4.96,-0.45 0,0 Q4.96,0.45 10.93,3.29" />
</g>
</g>
</g>
</g>
<g>
<g>
<rect rx="0" ry="0" x="44" y="23" width="455" height="26" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
<g>
<rect rx="0" ry="0" x="94" y="109" width="353" height="26" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
<g>
<rect rx="0" ry="0" x="83" y="195" width="504" height="47" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
<g>
<rect rx="0" ry="0" x="49" y="289" width="158" height="26" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
<g>
<rect rx="0" ry="0" x="466" y="288" width="145" height="26" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
<g>
<rect rx="0" ry="0" x="31" y="374" width="305" height="131" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
<g>
<rect rx="0" ry="0" x="339" y="372" width="316" height="152" style="stroke: rgb(0, 0, 0); stroke-width: 1; fill: none; fill-opacity: 1;" />
</g>
</g>
<g />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="660" height="546.328125" style="width:660px;height:546.328125px;font-family:Asana-Math, Asana;background:#FFF;">
<g>
<g>
<g>
<text x="48.328125" y="27.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">Objective: To determine the enthalpy changes of various reactions. </text>
</g>
</g>
</g>
<g>
<g>
<g>
<text x="98.328125" y="113.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">Before we do so, we need to learn a few defintions. </text>
</g>
</g>
</g>
<g>
<g>
<g>
<text x="87.328125" y="199.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">Now that we've learned these definitions, we can start finding the enthalpy </text>
</g>
</g>
<g>
<g>
<text x="87.328125" y="220.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">changes of various reactions. </text>
</g>
</g>
</g>
<g>
<g>
<g>
<text x="53.328125" y="293.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">Experimental methods</text>
</g>
</g>
</g>
<g>
<g>
<g>
<text x="470.328125" y="292.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">Theoretical methods</text>
</g>
</g>
</g>
<g>
<g>
<g>
<text x="35.328125" y="378.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">- Used to determine enthalpy change of </text>
</g>
</g>
<g>
<g>
<text x="35.328125" y="399.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">combustion for various liquid (usually </text>
</g>
</g>
<g>
<g>
<text x="35.328125" y="420.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">combustible liquid fuels)</text>
</g>
</g>
<g></g>
<g>
<g>
<text x="35.328125" y="462.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">- Used to determine enthalpy change when </text>
</g>
</g>
<g>
<g>
<text x="35.328125" y="483.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">two liquids reacts (usually acids and bases). </text>
</g>
</g>
</g>
<g>
<g>
<g>
<text x="343.328125" y="376.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">Rely on Hess's law. </text>
</g>
</g>
<g></g>
<g>
<g>
<text x="343.328125" y="418.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">- Enthalpy change of formation for compounds</text>
</g>
</g>
<g>
<g>
<text x="343.328125" y="439.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">are used.</text>
</g>
</g>
<g></g>
<g>
<g>
<text x="343.328125" y="481.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">- Bond enthalpies are also used to calculate </text>
</g>
</g>
<g>
<g>
<text x="343.328125" y="502.328125" style="white-space:pre;stroke:none;fill:rgb(0,0,0);fill-opacity:1;font-size:15px;font-family:Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;dominant-baseline:text-before-edge;text-decoration:none solid rgb(0, 0, 0);">the enthalpy change accompying a reaction</text>
</g>
</g>
</g>
</svg>
</svg>
Here's my latex code -
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{positioning}
\usepackage{float}
\usepackage[clean]{svg}
\usepackage{graphicx}
\title{Tikz learn}
\author{...}
\date{August 2022}
\begin{document}
\maketitle
\begin{figure}
\centering
\includesvg{Conceptchart1}
\caption{Caption}
\label{fig:my_label}
\end{figure}
\end{document}
What overleaf is interpreting this as -

What should I do?







\documentclassand end\end{document}the other should start<svgand end</svg>– David Carlisle Aug 29 '22 at 15:20.pdffrom Your.svgand use it instead. Reason: no pixelation also. – WinnieNotThePooh Aug 29 '22 at 20:58svgthis is done automatically. – mrpiggi Aug 31 '22 at 19:28tikz– WinnieNotThePooh Aug 31 '22 at 19:49tikzfor a graphic like OP's one. – mrpiggi Sep 20 '22 at 21:03