[BUG] PerimeterOnLabelBounds story: perimeter not on the label bounds at story load · Issue #545 · maxGraph/maxGraph · GitHub
Skip to content

[BUG] PerimeterOnLabelBounds story: perimeter not on the label bounds at story load #545

Description

@tbouffard

Describe the bug

When loading the story, the terminals of the edges are on the perimeter of the vertices.

To Reproduce

See

  1. Go to https://maxgraph.github.io/maxGraph/demo/?path=/story/labels-perimeteronlabelbounds--default
  2. the edges terminals are on the perimeter of the vertices instead of on the perimeter of the label bounds
  3. after moving the vertex, the terminals are on the right perimeters

Expected behavior

The terminals are on the right perimeters.
This was working in mxGraph, see https://jgraph.github.io/mxgraph/javascript/examples/perimeter.html

Screenshots

PerimeterLabelBounds.webm

Environment

  • maxGraph version or commit: 0.13.0
  • Desktop or mobile: all
  • OS and version: all
  • Browser and version: all

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions