autogen: support pyNSource graphic file *.pyns