Skip to content

Allow taxi distance to be specified relative to the target node #2606

Description

@ofir130

Issue type

Feature request

Description of new feature

Enhance taxi edges so that taxi-turn would accept an absolute distance from the target (could be a negative number as currently, positive number is the absolute distance from the source)

{
  selector: 'edge',
  style: {
    'curve-style': 'taxi',
    'taxi-direction': 'rightward',
    'taxi-turn': '-15px', // negative numbers used to denote distance from target
  }
}

www draw io_

  • red line is the current implementation while the dotted line is how I wished it would render

Motivation for new feature

Have more control over the edges rendering

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions