renaming, moved methods
basic tests for graph visualizations
refactoring conversion to js graph literal