Closed benmaier closed 5 years ago
already working on it!
On Apr 11, 2019, at 09:49, Ulf Aslak notifications@github.com wrote:
Probably my doing. Will have a look
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benmaier/netwulf/issues/16#issuecomment-482171118, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOzvPsluWkaBnbZ60Qt7kmF9yz_ks5uks5vf1mBgaJpZM4cp75M.
Oh, no I think it's super simple. I changed some of the names of keys in the config dictionary, because I didn't like the old ones. Maybe that's just the problem?
ah. However, even "Node size" doesn't work anymore. I think, Reflect.ownKeys is not working properly for some reason.
On Apr 11, 2019, at 09:51, Ulf Aslak notifications@github.com wrote:
Oh, no I think it's super simple. I changed some of the names of keys in the config dictionary, because I didn't like the old ones. Maybe that's just the problem?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benmaier/netwulf/issues/16#issuecomment-482171949, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOzvOxrdCTLFZHxmu5UJKlmZMmS_3tyks5vf1n7gaJpZM4cp75M.
wth. it seems like "Path to file" is the only "ownProperty" that the config dictionary has... that's super weird.
On Apr 11, 2019, at 09:52, Benjamin Maier benjaminfrankmaier@gmail.com wrote:
ah. However, even "Node size" doesn't work anymore. I think, Reflect.ownKeys is not working properly for some reason.
On Apr 11, 2019, at 09:51, Ulf Aslak <notifications@github.com mailto:notifications@github.com> wrote:
Oh, no I think it's super simple. I changed some of the names of keys in the config dictionary, because I didn't like the old ones. Maybe that's just the problem?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benmaier/netwulf/issues/16#issuecomment-482171949, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOzvOxrdCTLFZHxmu5UJKlmZMmS_3tyks5vf1n7gaJpZM4cp75M.
Is the change I made to parse_options.js reflected in the version of the webapp that netwulf is using? Check out https://github.com/ulfaslak/network_styling_with_d3/blob/master/parse_options.js
I made that change because I needed the thing to work if you only input data (and not config)
yes
On Apr 11, 2019, at 10:08, Ulf Aslak notifications@github.com wrote:
Is the change I made to parse_options.js reflected in the version of the webapp that netwulf is using? Check out https://github.com/ulfaslak/network_styling_with_d3/blob/master/parse_options.js https://github.com/ulfaslak/network_styling_with_d3/blob/master/parse_options.js — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benmaier/netwulf/issues/16#issuecomment-482178583, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOzvOFH7wKJT0qPsk1cmxcIoaOcpQr3ks5vf13ygaJpZM4cp75M.
makes sense.
On Apr 11, 2019, at 10:08, Ulf Aslak notifications@github.com wrote:
I made that change because I needed the thing to work if you only input data (and not config)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benmaier/netwulf/issues/16#issuecomment-482178725, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOzvJbdWAliatQTUQCUbLhoQbB150WYks5vf14KgaJpZM4cp75M.
I can't reproduce :/
so if you for instance start it with config={'Node size':100}
the nodes are huge?
Ah you're right it doesn't work for me too.
Nono it works, just use 'Size' instead of 'Node size'. I changed that. It was more intuitive to call it that as it was already under the "Node" tab.
Apparently, I was behind 1 commit :( . It still does not work for me, though.
also, I agree that the new names make sense for the GUI, but for the Python config, they're relatively non-descriptive now. Consider
visualize(G, config={'Size': 10, 'Color': '#000000'})
size refers to the nodes but color refers to the links. I think this is pretty unintuitive.
I'll check in the evening what's going wrong with Reflect.ownKeys on my machine. annoys me to no end :(
This is technical debt. Really we should have generic names for each parameter and then print something different in the visualization. I'll make an issue for this and solve it soon.
yeah you're right, this would be the proper way. Thanks :)
works now!!! thanks, ulf!
Probably my doing. Will have a look