jgraph / jgraph/drawio

Line labels offset when importing from .vsdx

Open
#5,228 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-info
Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Preflight Checklist
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must search the issue tracker and agree to the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
When opening/importing a network diagram (.vsdx) that is using line labels they are offset in drawio. When opening in Visio alignment is correct

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'attached file and open in drawio'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
line labels should be aligned on there respective network connection

Screenshots
Included a .vsdx file that shows the issue described

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 28.0.6

Desktop (please complete the following information):

  • OS: [Windows 11, MacOS]
  • Browser: [Edge, Safari]
  • Browser Version [Latest versions]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes

Additional context
Love this product, use it daily

Line 1.vsdx.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the attached Line 1.vsdx.zip in draw.io and compare the line-label positions with the same diagram in Visio. Trace the .vsdx import path to identify how label offsets are interpreted; the issue is done when imported line labels align with their network connections.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.