keeganhines / vivagRaph

12 stars 1 forks source link

fix invisible rendered graph #2

Closed timelyportfolio closed 9 years ago

timelyportfolio commented 9 years ago

@keeganhines reported and I confirmed that the graph was being rendered but on Chrome did not show. This is related to https://github.com/anvaka/VivaGraphJS/issues/108. It seems the best way to handle is explicitly set the height and width of the svg to 100%. Also, for future development, attached the renderer to the widget for things like resize.

also, removed jquery since it is not a dependency. If users want to use jquery, then attachDependencies with htmlDependency from htmltools would be the better way.

changed to the non-minified VivaGraph for debugging for now as we build