When visualizing a protein, Pymol automatically connects the various atoms.  Is there a method to access the connection graph in a pymol plug-in?  What I want to do, is to write a plug-in so that I click on an atom and have it create 2 selections, one selection will have all atoms that are connected to each other on one side of the atom I clicked, and the other selection all of the atoms on the other side of the atom (I'm assuming for now that there are no connections joining the atoms on one side and the other side).  This should be fairly straight forward I think, provided the info about the various atoms connectedness is accessible.  Any help is much appreciated.

-Brett

--
******************************************
Brett T. Hannigan
******************************************