Skip to content

Conversation

@FarisElghlan
Copy link
Collaborator

@FarisElghlan FarisElghlan commented Jun 21, 2016

Added arrows to the annotations to indicate their direction.

Fixes #257

@FarisElghlan FarisElghlan added this to the #8 - Final Version milestone Jun 21, 2016
@FarisElghlan
Copy link
Collaborator Author

Example:
arrows

@Pathemeous
Copy link
Member

Please rebase on dev.

@Pathemeous
Copy link
Member

While rebasing, also edit the arrow commit's message to include the information from the PR (what it fixes, small description)


private static final double MINIMUM_LABEL_WIDTH = 10.0;
private static final double MINIMUM_LABEL_HEIGHT = 12.0;
private static final double MINIMUM_ARROW_WIDTH = 25.0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimum arrow with is alrgeer than minimum label width? Sure this is desired? (weird overlapping with many small nodes)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the annotation is smaller than MINIMUM_LABEL_WIDTH the label (text) isn't drawn. If the annotation is smaller than MINIMUM_ARROW_WIDTH the arrow won't be drawn.

@FarisElghlan FarisElghlan force-pushed the feat/annotation-arrows branch from 75a1a99 to 244e58d Compare June 21, 2016 22:54
@Pathemeous Pathemeous merged commit 5371cc4 into dev Jun 21, 2016
@Pathemeous Pathemeous deleted the feat/annotation-arrows branch June 21, 2016 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants