anchor.diff:                                "\\draw[->, color=~s] (~pcm, -~p)"
                                 " .. controls +(~pcm,-0.3) .."
                                 " node[inner sep=1pt,anchor=west,sloped,rotate=-90, align=left]"
  -                              "{\\tiny{~s}} (~pcm, -~p)"
  +                              "{\\tiny ~s} (~pcm, -~p) "
                                 "node [anchor=west, inner sep=1pt, rotate=60] {\\tiny ~s};~n",
                                 [Color, element(2, X)/ScaleX, SrcNum/2,
                                  (RecvTime - element(2, X))/ScaleX/2,
  
positive.code:                         end,
                      io:format(File,
                                "\\draw[->, color=~s] (~pcm, -~p)"
                                " to node[inner sep=1pt, anchor=west,sloped,rotate=-90, align=left]"
                                "{\\tiny ~s} (~pcm, -~p)"
                                "node [anchor=west, inner sep=1pt, rotate=60] {\\tiny ~s};~n",
                                [Color, SendTime/ScaleX, SrcNum/2,
                                 MsgTag,
  
negative.code:      end || Event <- LogRaw].
  
  -spec convert_msg(Msg::comm:message()) -> comm:message().
  convert_msg(Msg) when is_tuple(Msg) andalso size(Msg) >= 1 ->
      setelement(1, Msg, util:extint2atom(element(1, Msg)));
  convert_msg(Msg) -> Msg.
  
  -spec get_trace_raw(trace_id()) -> trace().
  get_trace_raw(TraceId) ->
  