Getting if a <PIN> is output or input pin?

i want to build an eye-candy patch viewer (and this can come handy in other stuffs) but i couldn’t get if a in the patch xml is an input or output pin. how vvvv gets this information? and how can i get this information inside vvvv?

right, that info is not in the .xml because vvvv knows it. but you can get the information from

But that won’t contain the info about external plugins or modules i guess, will it?

there is another one in

but right, there is non for stuff not in the addonpack.

you can erase nodelist it recreates on start with new nodes incl