GithubHelp home page GithubHelp logo

Comments (5)

mithunshanbhag avatar mithunshanbhag commented on June 25, 2024

Hi @brtknr: This is a known issue with elbow connectors. Unfortunately, the fix is non-trivial and might also break backward compatibility with existing diagrams. Looking into this.

from cloudskew.

brtkwr avatar brtkwr commented on June 25, 2024

Whats the workaround? Do you recommend a different connector? Why is the elbow connector the default one if its broken?

from cloudskew.

mithunshanbhag avatar mithunshanbhag commented on June 25, 2024

Unfortunately, no workarounds exist for this issue.
Curved connector and line connectors do not encounter this issue.

Background: The elbow connectors use an "aggressive" routing strategy to bypass existing shapes/text on the canvas. While the user can re-route the elbow connector, it accidentally defaults to the aggressive routing strategy on page refreshes (hence the bug).

Apologies for the bad experience, will do my best to fix this.

from cloudskew.

brtkwr avatar brtkwr commented on June 25, 2024

Thanks for looking into it. Please default to curved connectors until the issue is fixed at least (e.g. when you drag from the point of an icon to another one).

from cloudskew.

mithunshanbhag avatar mithunshanbhag commented on June 25, 2024

Update: You can now attach connectors to:

  • a specific dock on the symbol. OR
  • the symbol itself.

The former will always stay attached to the specific dock, while the latter will dynamically route itself for the shortest path.

In below example, the yellow connector is attached to the symbol's dock, while the purple connector is attached to the symbol.

Note: This will only work for newer symbols loaded on the diagram canvas. Existing symbols (already on the canvas) will not be affected by this change.

GIF 12-7-2021 5-16-57 PM

from cloudskew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.