<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Convert Dwg to SVG</title>
</head>
<body>
    <h1>Convert Dwg to SVG</h1>
    <p>Notes: support arc, circle, ellipse, insert, line, mtext, polyline, ray, text, and xline only.</p>
    <input type="file" id="fileInput" accept=".dwg" />
    <button id="download-svg-btn" disabled>Download SVG</button>
    <br><br>
    <div id="svg-container"></div>
    <script