AlloViz.AlloViz.Elements.Nodes._get_nv

Nodes._get_nv(nv)

Establish the visualization object to be used for representation

It selects the reference state of the Delta object as parent if a delta-network is visualized, else the parent parameter/attribute itself. If a nv is already passed, network elements should be added to it; else one is created with the selected Protein’s protein attribute.

Parameters:
nvNone or nglview.NGLWidget

Existing representation to which new network elements should be added.