list all the node with NatronEngine

is that possible to return all the node in the scene with the NatronEngine only?

from NatronEngine import *

app1 = natron.getInstance(0)

app=app1

selectedNodes = app1.getChildren()

print selectedNodes