Skip to content

v0.4.3 – sequence messages keep their receiver

Latest

Choose a tag to compare

@Denmurzik Denmurzik released this 14 Oct 13:22
79d4745

Sequence diagram messages lost their receiver. When a message ends on an activation bar, Visual Paradigm drops its receiver: the model's to end stays empty and the connector has no target shape. The diagram still looks right because the line keeps its stored points, but vp_get_element shows to: {}, and anything that reads the model (reports, code generation, checks of sender and receiver) sees messages without a receiver. vp_build_sequence attached almost every call and return to the receiver's activation bar, so nearly all its messages were affected.

  • vp_build_sequence attaches both ends of a message to the lifelines; the activation bars are still linked to the message
  • vp_add_connector / build connectors of type Message given an activation bar use its lifeline; activation shape ids from vp_get_diagram are found
  • the label of a message from a lifeline to itself sits above its loop

Diagrams built with earlier versions keep their messages without a receiver: rebuild them with vp_build_sequence or re-create the affected messages. Arrow heads now reach the lifeline's centre line, about half an activation bar into it.

Install: close Visual Paradigm, replace the visual-paradigm-mcp-plugin folder in the plugins directory with the one from the zip, start VP. The skill (visual-paradigm-skill.zip) was updated as well.