I would like to be able to scroll the full height of the svg in the wrapper div, but unfortunately it is not scrollable. Any help is appreciated.
The size of the rendered Tree Diagram within the SVG will be dynamic, and therefore I do not have fixed dimensions of the SVG.
The solution I am looking for is that a scrollbar allows me to view the entire svg within a wrapper whose height and width can be set using viewport height.
#vulcanWrapper {
border:1px solid red;
overflow: scroll;
height:92vh;
width: 100%;
}
#vulcanWrapper svg {
height:88vh;
width:90%;
border:1px solid black;
}
You can view the source code on jsfiddle:
https://jsfiddle.net/intelligence_ai/0quz2pLL/3/
Screenshot:
