Preparations for making Spring layout. Buffer structure added for faster graph calculations. First steps to detect virtual nodes based on the DB data. Need to fix incoming connection detection.