Handle nodes without links
Merge pull request #1 from jhall11/jhall11/topology_refactoring2

Handle nodes without links