Automatically generated diagrams and animations for Scala data structures