Transformational Creativity in Science: A Graphical Theory