...Node and Attribute Reference that describes each of these nodes and their attributes. Working directly at the DG levelgives you the maximum amount of flexibility and power, but it is limiting. Fortunately, you are not required to work directly...
http://images.autodesk.com/adsk/files/maya_api_whitepaper.pdf