Skip to content

Commit

Permalink
doc: key concepts
Browse files Browse the repository at this point in the history
Signed-off-by: Sijie Shen <[email protected]>
  • Loading branch information
ds-ssj committed May 15, 2024
1 parent a2be8b1 commit 583562b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 87 deletions.
3 changes: 2 additions & 1 deletion docs/docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Read the Paper
:hidden:

documentation/design/architecture
documentation/design/key-concepts
documentation/design/rgmapping
documentation/design/graph-storage

.. toctree::
:maxdepth: 1
Expand Down
File renamed without changes.
53 changes: 0 additions & 53 deletions docs/documentation/design/key-concepts.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/documentation/design/key-concepts/graph-server.rst

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -64,34 +64,34 @@ YAML
method: append
enableRowStore: false
vertexMappings:
vertex_types:
- type_name: person
dataSourceName: PERSON
idFieldName: p_id
mappings:
- property: p_id
dataField:
name: P_ID
- property: p_name
dataField:
name: NAME
vertex_types:
- type_name: person
dataSourceName: PERSON
idFieldName: p_id
mappings:
- property: p_id
dataField:
name: P_ID
- property: p_name
dataField:
name: NAME
edgeMappings:
edge_types:
- type_pair:
edge: transfer
source_vertex: person
destination_vertex: person
dataSourceName: TRANSFER
sourceVertexMappings:
- dataField:
name: P_ID1
destinationVertexMappings:
- dataField:
name: P_ID2
dataFieldMappings:
- property: t_date
dataField:
name: T_DATA
edge_types:
- type_pair:
edge: transfer
source_vertex: person
destination_vertex: person
dataSourceName: TRANSFER
sourceVertexMappings:
- dataField:
name: P_ID1
destinationVertexMappings:
- dataField:
name: P_ID2
dataFieldMappings:
- property: t_date
dataField:
name: T_DATA
The RGMapping rule can also be written in `YAML`_. It defines the graph schema for the graph named ``ldbc``. It specifies the mapping between the vertices, edges and their properties in the graph and the columns in the table.

Expand Down

0 comments on commit 583562b

Please sign in to comment.