LayoutClass package:diagrams

All layouts must be instances of LayoutClass, along with an appropriate container type which must be an instance of Functor.