title: Find dependency chain between two classes on Intellij IDEA diagram
body: <p>I'm trying to find an automatic way of getting from here:</p>
  
  <p><a href="https://i.stack.imgur.com/fhwc0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fhwc0.png" alt="Initial status"></a></p>
  
  <p>To here:</p>
  
  <p><a href="https://i.stack.imgur.com/5ZcAL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5ZcAL.png" alt="Final status"></a></p>
  
  <p>Without having to manually add classes B and C. I've tried using the find dependencies action when right clicking on class A, but it only shows direct dependencies and if class A has lots of dependencies it's hard to know what "branch" to follow to find class D.</p>