--- title: "pg_propgraph_element" id: catalog-pg-propgraph-element pg_version: "20devel" --- ## 52.40. pg_propgraph_element The catalog pg_propgraph_element stores information about the vertices and edges of a property graph, collectively called the elements of the property graph. **pg_propgraph_element Columns** | Column Type | Description | | --- | --- | | `oid` `oid` | Row identifier | | `pgepgid` `oid` (references [pg_class](catalog-pg-class.md).`oid`) | Reference to the property graph that this element belongs to | | `pgerelid` `oid` (references [pg_class](catalog-pg-class.md).`oid`) | Reference to the table that contains the data for this property graph element | | `pgealias` `name` | The alias of the element. This is a unique identifier for the element within the graph. It is set when the property graph is defined and defaults to the name of the underlying element table. | | `pgekind` `char` | `v` for a vertex, `e` for an edge | | `pgesrcvertexid` `oid` (references [pg_propgraph_element](catalog-pg-propgraph-element.md).`oid`) | For an edge, a link to the source vertex. (Zero for a vertex.) | | `pgedestvertexid` `oid` (references [pg_propgraph_element](catalog-pg-propgraph-element.md).`oid`) | For an edge, a link to the destination vertex. (Zero for a vertex.) | | `pgekey` `int2[]` (references [pg_attribute](catalog-pg-attribute.md).`attnum`) | An array of column numbers in the table referenced by pgerelid that defines the key to use for this element table. (This defaults to the primary key when the property graph is created.) | | `pgesrckey` `int2[]` (references [pg_attribute](catalog-pg-attribute.md).`attnum`) | For an edge, an array of column numbers in the table referenced by pgerelid that defines the source key to use for this element table. (Null for a vertex.) The combination of `pgesrckey` and `pgesrcref` creates the link between the edge and the source vertex. | | `pgesrcref` `int2[]` (references [pg_attribute](catalog-pg-attribute.md).`attnum`) | For an edge, an array of column numbers in the table reached via pgesrcvertexid. (Null for a vertex.) The combination of `pgesrckey` and `pgesrcref` creates the link between the edge and the source vertex. | | `pgesrceqop` `oid[]` (references [pg_operator](catalog-pg-operator.md).`oid`) | For an edge, an array of equality operators for `pgesrcref` = `pgesrckey` comparison. (Null for a vertex.) | | `pgedestkey` `int2[]` (references [pg_attribute](catalog-pg-attribute.md).`attnum`) | For an edge, an array of column numbers in the table referenced by pgerelid that defines the destination key to use for this element table. (Null for a vertex.) The combination of `pgedestkey` and `pgedestref` creates the link between the edge and the destination vertex. | | `pgedestref` `int2[]` (references [pg_attribute](catalog-pg-attribute.md).`attnum`) | For an edge, an array of column numbers in the table reached via pgedestvertexid. (Null for a vertex.) The combination of `pgedestkey` and `pgedestref` creates the link between the edge and the destination vertex. | | `pgedesteqop` `oid[]` (references [pg_operator](catalog-pg-operator.md).`oid`) | For an edge, an array of equality operators for `pgedestref` = `pgedestkey` comparison. (Null for a vertex.) |