Skip to content

Commit

Permalink
Merge pull request #388 from antvis/bugfix-0626
Browse files Browse the repository at this point in the history
fix: node and edge have no data property field for property graph cal…
  • Loading branch information
pomelo-nwu authored Jun 26, 2023
2 parents 4a8564f + 777e85a commit a2a17de
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 a2a17de

Please sign in to comment.