I have the following navigation graph
Frag A --> Frag B --> Frag C --> --> Frag D
\ /
-> Frag E <---------------
\
-> Frag F
My current stack is [Frag A, Frag B, Frag C and Frag D]. Knowing that my current destination is Frag D and that I want to navigate from Frag D to Frag E clearing Frag B, Frag C and Frag D from the stack, how can one do it?
Current stack: [Frag A, Frag B, Frag C and Frag D]
Intent: navigate to Frag E clearing [Frag B, Frag C and Frag D] from the stack
resulting stack: [Frag A and Frag E]