Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap <div> for <svg>? #58

Open
russellbits opened this issue Jan 22, 2018 · 3 comments
Open

Swap <div> for <svg>? #58

russellbits opened this issue Jan 22, 2018 · 3 comments

Comments

@russellbits
Copy link

russellbits commented Jan 22, 2018

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>?

@nicgirault
Copy link
Owner

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.

@russellbits
Copy link
Author

russellbits commented Jan 25, 2018

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?

@almeidaxan
Copy link

almeidaxan commented Nov 8, 2018

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants