move sublist to diagram module