Raynos / peer-nodes

A replicated list of peers
MIT License
3 stars 0 forks source link

undirender #2

Closed juliangruber closed 10 years ago

juliangruber commented 11 years ago

something like

console.log(p1.graph(80, 20))

                                               a¯¯                              
                                           /¯¯¯|                                
                   h¯                   /¯¯    |                                
                /¯¯  \_              /¯¯       |                                
             /¯¯       \_        /¯¯¯          |                                
          /¯¯            \_   /¯¯              |                                
        /¯                 e____               |                                
     /¯¯                  /     \____          |                                
  /¯¯                    /           \____     |                                
g__                     /                 \____|                                
   \__                 /                       |_____                           
      \__             /                        |     \____                      
         \__         /                         |          \____                 
            \__     /                          |               \____            
               \___/                           |                    \_____      
                  \d________                   |                          c¯¯¯¯¯
                            \________          |                 /¯¯¯¯¯¯¯¯      
                                     \________ |       /¯¯¯¯¯¯¯¯¯               
                                               b             

Using https://github.com/substack/undirender

Raynos commented 11 years ago

Out of scope. Putting meta data on the nodes about the network topolgy is out of scope too.

I do need to expose set so that you can set arbitary meta data like network topology.