1. A method comprising: defining, using a processor, a model of a network of interconnected anatomical structures of a patient, wherein the model of the network includes at least one link indicating a functional relationship between at least a first anatomical structure and a second anatomical structure; sensing activity in at least the first anatomical structure in response to therapy delivered to the second anatomical structure; and adjusting, based on the sensed activity, at least one of the functional relationship between the first anatomical structure and the second anatomical structure and the therapy delivered to the second anatomical structure.