getD2

Returns the D2 instance, given that it has already been initialized using the D2Manager.instantiateD2 method.

Return

the D2 instance

Throws

if the D2 object wasn't instantiated