node and link attributes as functions
Infrastructure for expadning and collapsing nodes