Get node features from feature dictionary. e.g. we can map the operations and terms to integeters: {add: 0, sub: 1, .. }