Parameter estimation of Ornstein–Uhlenbeck process generating a stochastic graph