add plotting egonet part & build indices on edge table