Graph processor framework