linkmap: Use a combination of presence and link dependencies.