Rewritten createAnalysisNodes() to incorporate analyses object properties for more node info.