reverted to leg parser; added graph and network transformation based on graphs to handle full Seed language