Repository navigation
v0.4.2 – shape sizes after reload, association roles, member types
Fixes found while building class and sequence diagrams for a real project.
Shapes losing their size after reopening a project. Shapes created through the plugin kept Visual Paradigm's "request default size" flag until the diagram was painted in an editor. A project saved before that came back with default-sized shapes (classes 80x40, names and members cut off), and exports of closed diagrams showed the same. Builds now clear the flag. When the tools open a closed diagram (builds, layouts, exports, vp_open_diagram), classes, tables and enumerations are fitted to their content without being made smaller, which also repairs diagrams that were already affected.
vp_export_diagram_imageopens a closed diagram before rendering it;vp_get_diagramreports whether the diagram is open (opened)vp_add_childrefits the owner's shapes, so new attributes/operations show up in the compartments- associations are reused only when the given role names, multiplicities and aggregation match: two compositions between the same classes with different roles are no longer merged; association ends are reported as
fromEnd/toEnd vp_get_elementshows attribute and parameter types (dataType) and operation return types (returnType, including[]);vp_find_elementsalso finds members (attributes, operations, parameters)- connectors:
waypoints(bend points) onvp_add_connector, build connectors andvp_update_element; a second line between the same two shapes is drawn with a bend automatically; new connectors are drawn between the shape borders instead of along the top edges vp_update_elementwith the project id renames the projectvp_list_typesaccepts a diagram type such asClassDiagram
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. Restart your agent session to load the new tool schemas.