Skip to content

Directed graph with custom Vertex widthxheight shifts arrow wrong #1

Description

@mfe-

When setting a custom width and height >40 on the VertexControl on a directed graph the arrow is underneath the control. Therefore it looks like that the arrow isn't displayed. The ShiftConverter is currently using hardcoded +-7.

To fix this:

  • Pass additonal parameter with width and height of control to ShiftConverter
  • Calculate a reasonable value which can be used to shift the arrow

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions