harmslab/NetworkViewer — pull request #3 by Zsailer (2014-10-15 23:50:45+00:00)
Title: Adding active modal to network viewer

I have never applied the modal window to the network viewer, so it's done it here.

I'm trying to create a generic prototype for this `modal` class (using the network viewer, not the tree viewer) that can easily be extended to any visualization. I want the API to be straight forward and extendable.

The basic idea:

1. A generic `Modal` class that handles the creation of all the static html and bootstrap elements in an intuitive generic fashion. It needs to intelligently handle the placement of new items on a standard grid in the window.
2. Each "Viewer" (Tree, Network, etc.) will have an `Options` class that attaches dynamic functions to the elements in the modal. The mapping for elements in the modal to Viewer-specific functions are held in this class.
3. Eventually, the generic visualization webservice classes should be pulled into their own repository. That way, we can just grab a standard dynamic visualization webservice API that can be used for multiple visualization representations.