我正在绘制附加的序列图,但有些组件无法弄清楚(用红色框突出显示(红色框不是必需的))。请提供建议
\documentclass{article}
\usepackage{pgf-umlsd}
\begin{document}
\begin{figure}
\centering
\begin{sequencediagram}
\newthread{FD}{FirstObject}{}
\newinst[2]{FH}{SecondObject}{}
\newinst[2]{VM}{ThirdObject0}{}
\newinst[2]{FC}{FourthObject0}{}
\begin{call}{FD}{processEvent()}{FH}{}
\begin{call}{FH}{processEvent()}{VM}{processEvent()}
\begin{call}{VM}{processEvent()}{FC}{processEvent()}
\end{call}
\begin{call}{VM}{processEvent()}{VM}{}
\end{call}
\end{call}
\end{call}
\end{sequencediagram}
\end{figure}
\end{document}