Control of biological resources on graphs