Graph Based Modeling of P2P Streaming Systems