Mermaid+Angular

Demo

Click the node to add it to the list, a delay of 2s (2000) is used to illustrate the redraw, typically a much smaller value can be used