@drq @skobkin also, non-tree graphs have loops. How do you want to handle it?