lfeutre / lmud

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

Find a good graph library for Erlang #42

Closed oubiwann closed 2 years ago

oubiwann commented 2 years ago

Goals:

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

oubiwann commented 2 years ago

Possibilities:

oubiwann commented 2 years 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 2 years 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.