Document: NAME_1 NAME_2 NAME_3 NAME_4 were all friends and lived in the same neighborhood. They all attended the same school and had been friends since they were young. They loved spending time together and often had adventures in the park or at the beach.\n\nOne day, they decided to have a picnic at the park. They met up early in the morning and brought all of their favorite foods and drinks. They laid out a blanket on the grass and enjoyed the warm sunshine as they ate and chatted.\n\nAfter lunch, they decided to play a game of frisbee. NAME_3 NAME_5 were on one team and NAME_2 NAME_3 NAME_4 were on the other. They played for hours, laughing and running around until they were all exhausted.\n\nIn the evening, they went for a walk along the beach. They watched the sunset and collected shells along the shore. They talked about their dreams and plans for the future, and promised to always stay friends and have more adventures together.\n\nAs the night fell, they said goodbye and went home, already looking forward to their next adventure with their friends.
Instruction: Construct a temporal event graph based on the given document. Write the code for plotting the constructed graph using networkX library. The words with all capital letters should appear at least 14 times.
user