Skip to content

Commit

Permalink
(fix) Include xml namespace in svg tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Apr 21, 2017
1 parent 713b0c1 commit 04f0a93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ function RootNode ({ graph, node }) {
export default function Graph ({ graph }) {
return (
<svg
xmlns='http://www.w3.org/2000/svg'
width={graph.width - graph.padding.left - graph.padding.right}
height={graph.height - graph.padding.top - graph.padding.bottom}
>
Expand Down

0 comments on commit 04f0a93

Please sign in to comment.