I'm drawing a flowchart with Mermaid but it isn't working the way I want.
Here is my code:
flowchart TD
a0[["xml_parsing"]]
a1{{"result = []"}}
a2{"any elements in collection?"}
a3{{"container = next element"}}
a4{{"name = text of SHORT-NAME tag of container"}}
a5{"is name end with '_PIM'?"}
a6{{"size = text of NvMNvBlockLength tag of container"}}
a7{{"append [container, name, size] to result"}}
ed([return result])
a0-->a1-->a2-->|YES|a3-->a4-->a5-->|NO|a2
a5-->|YES|a6-->a7-->a2-->|NO|ed
and this is result:
I want to make the return result
node go to the bottom.