Gojs diagram dive by class name

i m working on a project where the html is coming from the back end server and there are no ids with the div div have unique class name where diagrams need to be
is there a way possible to give the diagram a div by its class name?
if yes then how?

No, one could not possibly use a CSS class because there might be more than one element with that class.

But instead of using an id string, you could pass a reference to the HTMLDivElement by setting Diagram | GoJS API.