not sure what you try to do. Do you want to get get process definition represented with objects? If you you can get it from KnowledgeBase once it's built. from kbase you can get all available processes and by iterating over it you can find one that interests you. Once you have it you can get Node objects out of Process and thus gathering all required information.
HTH
P.S.
better is to place user questions on user forum (parent to this one) and this was used mainly by development team but it is not any more so no too much attention here.