reactive marble diagram generation