Skip to content

Accept nodes overlapping the accept circle when node label is too big #43

@de7ign

Description

@de7ign

Details

node size increases as node label length increase, but the size of the outer ring which decides a node is an accept node or not is fixed. As a result, the node and the outer ring overlap and the user can't see if its an accept state or not.

How to reproduce the issue?

  1. Create a node.
  2. Make it an accept node
  3. Change the node label with a long string.
  4. The node size will increase wrt to the length of the label and ultimately overlap the outer ring.

Possible solution

  1. Limit the length of the label
  2. Dynamically increase the outer ring size wrt to increase in node size
  3. Dynamically increase the size of all nodes and outer ring wrt to increase in size of any node.
  4. Show the trimmed label w/ ellipsis, and when mouse hover above the node the tooltip will show the full string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogWon't work on this unless required (least priority)enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions