title: How to automatically resize height of visjs Network component when window resized?
body: <p>It is just an answer, as I could not find the answer myself, so wrote it for community. Some commented out code to play with too.</p>