Implement functions for manipulating literal resource graphs