Layout Animation function to enable or disable layout animation
Layout expand function for animation of expand and collapse
Returns void
update the node opacity for the node and connector once the layout animation starts