protected void UpdateKeywordVisualization() { List <SentenceInfo> prevKeywords = GetPreviousSentencesKeywords(); List <SentenceInfo> nextKeywords = GetNextSentencesKeywords(); surface.PreviousKeywords(prevKeywords); surface.NextKeywords(nextKeywords); if (directedGraph) { UpdateDirectedGraph(); } surface.Invalidate(true); }