Create Ball And Stick representation object
the structure to be represented
a viewer object
ball and stick representation parameters
Set representation parameters
selection string, see {@tutorial selection-language}
this object
Set the visibility of the representation
visibility flag
this object
Generated using TypeDoc
Ball And Stick representation. Show atoms as spheres and bonds as cylinders.
Name: ball+stick
stage.loadFile( "rcsb://1crn" ).then( function( o ){ o.addRepresentation( "ball+stick" ); o.autoView(); } );