indexofknowledge / iok

Index of Knowledge
11 stars 5 forks source link

[graph-vis] Make the IoK prettier #10

Closed rustielin closed 4 years ago

rustielin commented 4 years ago

CSS or something

rustielin commented 4 years ago

Update: with more data points, the dagre layout gets a bit out of hand, since at least as of now, the IoK seems to be pretty bushy. (e.g. dependencies not too expansive yet). We can have non-downward-facing arrows if needed, esp since we highlight dependencies already, but it might look a bit strange

rianadon commented 4 years ago

Idea: We can put all of the information inside of the circle, so that when you click it the graph zooms in like Prezi.

rustielin commented 4 years ago

@rianadon yea that seems pretty good. Maybe we can hack apart the "compound" nodes feature? https://cytoscape.org/cytoscape.js-cola/demo-compound.html

Also might be a problem when a resource is a resource for more than one topic node. Maybe we could programmatically enforce that...

rustielin commented 4 years ago

Also: change the styling for resource nodes as big IoKs can get pretty messy