makes a diagram by getting information produced by Analyzer