brokkoli_origin has quit [Ping timeout: 248 seconds]
ih8u has quit [Remote host closed the connection]
ih8u has joined #ruby
brokkoli_origin has joined #ruby
hwpplayer1 has joined #ruby
cleo has quit [Server closed connection]
splud has quit [Ping timeout: 255 seconds]
hwpplayer1 has quit [Remote host closed the connection]
meimei has quit [Server closed connection]
meimei has joined #ruby
shiru has joined #ruby
shiru has quit [Remote host closed the connection]
denvermullets has joined #ruby
<rapha>
hey all
<rapha>
do we have something in ruby for easily creating a visual network diagram? specifically, i'd like to plot distance and strength of interpersonal relationships. what i have in mind is a semicolon-separated values file where each person gets 1 line. 1st field is their own name, all subsequent fields are comma-separated lists of names: "in the last 3 months, who has been most important to you", "who is
<rapha>
grounded in reality the most", "whose behaviour annoys me the most", "who would i like to spend time with the most", "who do i want to be in touch with the least"
rhe has quit [Server closed connection]
rhe has joined #ruby
<rapha>
if my brother and i both put one another into the "who would i like to spend time with the most" field, the algorithm should give us a smaller distance and place arrow heads on both sides of the line connecting us. but if we also both put each other in the "whose behaviour annoys me the most" field, the line connecting the two arrow heads should be a little thinner ... and so on, and so forth
hwpplayer1 has joined #ruby
<rapha>
my question was initially about how to do the actual plotting. but either minimagick or chunkyy_png should do fine for that. the more i think about it, the less confident i feel about the algorithmical side of this :(
<rapha>
so, maybe not a ruby question per se, but i'd love any and all thoughts about it :)
<adam12>
rapha: Not sure if it would work for this but I'd probably just use something like d2lang or mermaid.
<rapha>
d2 looks like it's easily generated
<rapha>
and what about the algorithmic side, adam12? do you think this is feasible? i'm thinking a first pass that collects all the names in the first field and then does a sanity check on the subsequent fields to make sure no names are mentioned there which don't occur in the first field. beyond that it feels like something that lends itself well to OOP: have a Node class with 1 object per person and an
<rapha>
Edge class with 1 object per each 2 persons...?
jetchisel has quit [Server closed connection]
jetchisel has joined #ruby
user71 has joined #ruby
<adam12>
rapha: Havven't given it much thought, tbh.
<rapha>
No worries. It's not urgent or anything. Just a perosnal interest project.
hwpplayer1 has quit [Remote host closed the connection]
havenwood has quit [Server closed connection]
havenwood has joined #ruby
splud has joined #ruby
marc_in_space has quit [Read error: Connection reset by peer]
marc_in_space has joined #ruby
denvermullets has quit [Ping timeout: 258 seconds]
Rounin has quit [Ping timeout: 260 seconds]
denvermullets has joined #ruby
Rounin has joined #ruby
alip has quit [Server closed connection]
alip has joined #ruby
denvermullets has quit [Ping timeout: 256 seconds]
denvermullets has joined #ruby
denvermullets has quit [Ping timeout: 258 seconds]
denvermullets has joined #ruby
pastelowl has quit [Quit: WeeChat 4.7.0]
jmcantrell has joined #ruby
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 248 seconds]
jmcantrell has quit [Quit: WeeChat 4.7.0]
rvalue- is now known as rvalue
kinduff has quit [Server closed connection]
jmcantrell has joined #ruby
kinduff has joined #ruby
user71 has quit [Quit: Leaving]
cappy has joined #ruby
___nick___ has quit [Ping timeout: 248 seconds]
surrounder has quit [Server closed connection]
surrounder has joined #ruby
marahin has quit [Server closed connection]
marahin has joined #ruby
denvermullets has quit [Ping timeout: 248 seconds]
user23 has joined #ruby
user23 has quit [Excess Flood]
user23 has joined #ruby
TomyWork has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
rdsm has quit [Server closed connection]
rdsm has joined #ruby
cappy has quit [Quit: Leaving]
hwpplayer1 has quit [Remote host closed the connection]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
denvermullets has joined #ruby
oznek has joined #ruby
denvermullets has quit [Remote host closed the connection]
infinityfye has quit [Read error: Connection reset by peer]