Swap <div> for <svg>?
Opened this issue · 3 comments
I use circos.js as a smaller part of a large SVG construction. I cannot get circos to draw to an <svg>
element despite the fact that <svg>
elements can contain more <svg>
elements. Since Circos.js is only looking for an "id" attribute, what is keeping it from using an <svg id="circos">
kind of tag as opposed to a <div>
?
Thanks for reporting this issue. You're right. Could you propose a pull request to fix it? Otherwise I might fix it one of these days.
I'll create a pull request. I think I can see where some changes need to be made. However, you don't have a webpack-dev-server or an express engine in your repository. How do you test your demo/
without a server—or do you just use Apache?
Any updates on this issue?
Apparently using an SVG as a container used to work on v2.0.0, but stopped working after v2.0.4 (inclusive).