You can put the graph in a container, for example a panel like below.
See data used in data.js, configuration applied in dag_settings.js, source in app.js.