I am trying to achieve a file lineage information Dapp and I need a graph kind of data structure for that. I know I can always write one but is there a ready to use data structure that is efficient enough?
-
Not as part of the Solidity language. Perhaps there's an open-source implementation somewhere, which has been verified by the community, so you can take it as an off-the-shelf product ready for use.– goodvibrationCommented Jan 23, 2020 at 9:05
-
I have searched for it but was unsuccessful in finding one. Maybe if someone knows of one it would be very helpful. Thanks– vteja711Commented Jan 23, 2020 at 9:54
-
1Doesn't sound like you did a thorough work (or even a minimal effort) on that one. I googled "solidity graph data structure" and immediately bumped into this answer, written by the highest-ranked user on this website. Why don't you start off with that?– goodvibrationCommented Jan 23, 2020 at 9:58
-
lol! must have missed my eyes! Thanks though!!!!– vteja711Commented Jan 23, 2020 at 10:03
-
If you look at the comment-thread on that answer, then you'll even find a link to an already implemented library by the same dude.– goodvibrationCommented Jan 23, 2020 at 10:22
Add a comment
|