lfeutre / lmud

An Erlang and LFE MUD/MUSH Server.
Other
24 stars 9 forks source link

Find a good graph library for Erlang #42

Closed oubiwann closed 1 year ago

oubiwann commented 1 year ago

Goals:

It may be that we have to assemble from multiple bits ...

oubiwann commented 1 year ago

Possibilities:

oubiwann commented 1 year ago

I think I'm leaning toward digraph. It will have to be in a gen_server, though, due to this:

Only the process that created the digraph is allowed to update it.

oubiwann commented 1 year ago

Over lunch, I have confirmed that the Erlang digraph library supports storing complex, nested data as the "label" on a graph, with the "vertex" of a new node being something as simple as an atom or a uuid string (list). I will update the ticket description with this decision.