Maybe I misunderstand it, but it seems to me that there is no way to rerun layout algorithms after when new elements get added/removed. Is this something you'd welcome a PR for?