The svg export doesn't seem to consider all graph elements when computing the viewBox's size (edges and labels for instance). See the following screenshot (the outer box represents the viewport as outlined by Inkscape).
Also, within Inkscape the text is not positioned properly. I'm not sure if this is Inkscape wrongly/incompletely implementing the svg standard, however, since the text is positioned properly when viewing the svg in Chrome and Firefox.
The svg export doesn't seem to consider all graph elements when computing the
viewBox
's size (edges and labels for instance). See the following screenshot (the outer box represents the viewport as outlined by Inkscape).Also, within Inkscape the text is not positioned properly. I'm not sure if this is Inkscape wrongly/incompletely implementing the svg standard, however, since the text is positioned properly when viewing the svg in Chrome and Firefox.