1. outerJoinVertices函数 首先给出源代码 override def outerJoinVertices[U: ClassTag, VD2: ClassTag] (other: RDD[(VertexId, U)]) //带插入的顶点信息 (updateF: (VertexId, VD, Option[U]) => VD2) //更新函数 (implicit eq: VD =:= VD2 = null): Graph[VD2, ED] = { // The implicit p…