Skip to content

Commit

Permalink
fix: node and edge have no data property field for property graph cal…
Browse files Browse the repository at this point in the history
…culation
  • Loading branch information
Yanyan-Wang committed Jun 26, 2023
1 parent 4a8564f commit 777e85a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gi-sdk/src/process/propertyGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const graphData2PropertyGraph = (graphData: IGraphData, schemaData: Graph
const dataTypeKey = typeKeyMap[itemType];
items.forEach(item => {
const { data } = item;
if (!data) return;
const { id, others } = splitData(itemType, data);

const dataType = data[dataTypeKey];
Expand Down

0 comments on commit 777e85a

Please sign in to comment.