Table Of Contents

VertexFrame add_vertices


add_vertices(self, source_frame, id_column_name, column_names=None)

Add vertices to a graph.

Parameters:

source_frame : Frame

Frame that will be the source of the vertex data.

id_column_name : unicode

Column name for a unique id for each vertex.

column_names : list (default=None)

Column names that will be turned into properties for each vertex.

Includes appending to a list of existing vertices.

Examples

See here for example usage in graph construction.