Loads a graph from an edge list formatted file where each line contains two integers: a source id and a target id.
Loads a graph from an edge list formatted file where each line contains two integers: a source
id and a target id. Skips lines that begin with
If desired the edges can be automatically oriented in the positive
direction (source Id < target Id) by setting
the path to the file (e.g., /home/data/file or hdfs://file)
whether to orient edges in the positive direction
the number of partitions for the edge RDD Setting this value to -1 will use the default parallelism.
the desired storage level for the edge partitions
the desired storage level for the vertex partitions
Loads a file in the following format:
# Comment Line # Source Id <\t> Target Id 1 -5 1 2 2 7 1 8
Provides utilities for loading Graphs from files.