All Plotly methods have for first argument either the div element of the plotly graph or its id. So,
<div id="graph"></div>
<script>
var graph = document.getElementById('graph')
Plotly.plot(graph, data, layout);
// is equivalent to
Plotly.plot('graph', data, layout);
// and similarly for e.g.
Plotly.purge('graph');
</script>
If by graph, you mean the <svg> part, than, yes, you’d be correct.
But all interactive plotly graphs are structured as:
<div> <!-- the gd -->
<svg></svg> <!-- top svg element that contains cartesian axes -->
<div></div> <!-- WebGL container that contains the <canvas> nodes required for 3D graphs -->
<svg></svg> <!-- bottom svg element that contains plot info like title, legends ... -->
</div>
So we can’t associated a plotly graph with one <svg> element.