15.1.2 Specifying the File Path

The following examples show how to specify the file path for various file formats.

For formats that contain vertices and edges specified in one file (for example, EdgeList), use uris as shown in the following code:

{"uris":["path/to/file.format"]}

For formats that require separate files for edges and vertices (for example, FlatFile), use vertex_uris and edge_uris as shown in the following code:

{"vertex_uris":["vertices1.format","vertices2.format"],"edge_uris":["edges1.format","edges2.format"]}

PGX will parse graphs in most of the plain text formats in parallel if the graph data is split into multiple files, as shown in the following code:

{"uris":["file1.format","file2.format",...,"fileN.format"]}