Referencing the Graph Editor from the API

Can anyone point me to any documentation dealing with linking to the graph editor from custom DG nodes ? Specifically w.r.t. having custom axes such as is the case with set driven keys that run from an additional attribute and aren't directly linked to time.

Thanks.

G.