If the graph is not tree-structured, than you might not be able to use a “TreeExpanderButton”. That’s why I also suggested the alternative to do whatever you want. One such alternative is implemented at Different Criteria for Hiding "Children" of Collapsed Nodes.
This might help: Twin adding to a node that is in between