expandable/collapsible circular graph
code cleanup