Skip to content

Commit

Permalink
feat(general): Added source and target to edge data (#5621)
Browse files Browse the repository at this point in the history
Added source and target to edge data
  • Loading branch information
bo156 committed Oct 5, 2023
1 parent 57fa4ed commit ca10783
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def rustworkx_from_local_graph(self, local_graph: LocalGraph[_Block]) -> rx.PyDi
(
e.origin,
e.dest,
{"label": e.label},
{"label": e.label, "source": e.origin, "target": e.dest},
)
for e in local_graph.edges
]
Expand Down

0 comments on commit ca10783

Please sign in to comment.