Construct a graph from a collection of vertices and edges with attributes.
the vertex attribute type
the edge attribute type
the "set" of vertices and their attributes
the collection of edges in the graph
the default vertex attribute to use for vertices that are mentioned in edges but not in vertices
Construct a graph from a collection of edges encoded as vertex id pairs.
a collection of edges in (src, dst) form
if multiple identical edges are found they are combined and the edge
attribute is set to the sum. Otherwise duplicate edges are treated as separate. To enable
uniqueEdges, a PartitionStrategy must be provided.
a graph with edge attributes containing either the count of duplicate edges or 1
None) and vertex attributes containing the total degree of each vertex.
Construct a graph from a collection of edges.
the RDD containing the set of edges in the graph
the default vertex attribute to use for each vertex
a graph with edge attributes described by
edges and vertices
given by all vertices in
edges with value
Implicitly extracts the GraphOps member from a graph.