Python code for producing a Unified Graph from multiple social network views