sbt-dependency-graph icon indicating copy to clipboard operation
sbt-dependency-graph copied to clipboard

<svg/> container too narrow

Open mslinn opened this issue 8 years ago • 3 comments

dependencyBrowseGraph generates HTML that has this container:

<svg height="7438.9375" width="1280">

However, that was too narrow. I had to manually widen it for my project:

<svg height="7438.9375" width="12800">

Is there some additional control that might be applied, perhaps by running a bounds check and setting svg width accordingly?

mslinn avatar Apr 06 '17 22:04 mslinn

Hi @mslinn, what happens when the container is too narrow? Is the graph cut off at the border?

jrudolph avatar Apr 11 '17 10:04 jrudolph

Yes, the image is clipped at the bounding box

mslinn avatar Apr 11 '17 10:04 mslinn

Why not just have it take 100% of width available?

Veske avatar Oct 18 '18 11:10 Veske