Bit stream representation of dynamic graphs