1. A method comprising: generating a second graph from (i) a first graph of multiple devices in a network and (ii) a set of one or more network compatibility rules, wherein said generating comprises dividing each device in the first graph into multiple nodes in the second graph, and wherein each node in the second graph represents a valid configuration of a device in the first graph; identifying a sub-graph of two or more linked nodes in the second graph that is isomorphic to at least a portion of the first graph, wherein the two or more linked nodes in the second graph represent two or more configurations that are compatible based on the set of one or more network compatibility rules; and determining each of one or more changes needed to convert a current configuration in the network to a target configuration specified by the sub-graph; wherein at least one of the steps is carried out by a computing device.