ksteph/KnowMap — pull request #24 by alandhuynh (2012-10-22 07:04:28+00:00)
Title: Alan Zoom Limit and Meaningful Edges

I added the zoom limit constants and the corresponding check for whether the current zoom level is greater than the limit for zooming out or less than the limit for zooming in before actually transforming the graph.

I also added the completed edge logic, which colors edges if they go from a completed node to an unlearned node (used to suggest next nodes to learn). Currently, the completed edge logic just checks the id of an edge's source node to determine whether an edge will be a completed edge or just a regular map edge, but once the node completion logic is finished, the completed edge logic will check that the source node is complete and the target node is not complete.

Similarly, I added opacity for edges to make edges between completed nodes transparent so that users are more focused on completed edges. Just like the completed edge logic, determining whether an edge should be transparent is completely arbitrary right now. An edge should be transparent when the source node is complete and the target node is also complete.