Schema design with edge class

I have a situation similar to that described on

On that page, someone made the comment:

One might argue also that this is contrived, and you should create a
real Edge class. This way when you finally realise ?whoops, I need to
colour the edges of the graph?, you have somewhere to store that

Which sounds like exactly what I want. Are there any good examples of
how to do this?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs