#138

Architecture: edge passes through an unconnected service

Openping13opened 24d ago

Summary

In an architecture diagram, Pele places an unconnected service directly on the connection between two other services. This makes the unconnected service appear to participate in that connection.

Reproduced in Pele 1.13.0 on the hosted playground. Mermaid's comparison view places the unconnected service away from the connection.

Reproduction

architecture-beta
  group app(cloud)[Playground]
  service page(server)[Web page] in app
  service Item1(server)[New item] in app
  service store(disk)[localStorage]
  service api(internet)[Claude API]
  page:R -- L:api
  page:B -- T:store

Open this example in the playground and select Compare.

Actual behavior

Pele places Item1 (“New item”) between page (“Web page”) and api (“Claude API”), directly on the horizontal connection defined by page:R -- L:api. The line is obscured by the unrelated service, making it look like a connection through “New item”.

There are no edges involving Item1 in the source. Both renderers correctly put page and Item1 inside app; the problem is the placement of the disconnected service relative to the edge.

Expected behavior

Place the disconnected service away from the edge, or route the edge around it, so the diagram does not imply a connection that is absent from the source.

Mermaid avoids the overlap for this example. I am not expecting identical coordinates or styling between the two renderers.

Activity

0

No activity yet.