refactored netviz to not store objects in maps; no longer crashes with Apple compiler