dmarx / reddit-map

Map of reddit community structure
0 stars 0 forks source link

Hide edges when viewing full graph #23

Closed dmarx closed 7 years ago

dmarx commented 7 years ago

Edges saturate the full graph (thanks defaults) and make it very difficult to explore at first glance. They also imbue a lot of additional rendering work. Let's hide all edges when we're not subsetted on an active node or group, but then draw edges when someone wants more information about a particular node or group.

dmarx commented 7 years ago

Fixed in f8ef0ae. Seems to have significantly improved graph performance in full graph view. Selecting AskReddit as nodeActive basically renews the "draw all edges" mode if anyone is curious what that graph looks like. Should consider recalibrating min/maxEdgeSize parameters now that edges don't completely overwhelm the graph.