Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Conversation

wimrijnders
Copy link

Addendum to #3474.

Updated the documentation, so that users can know about flipping the middle arrow with a negative scale factor.

Addendum to visjs#3474.

Updated the documentation, so that users can know about flipping the middle arrow with a negative scale factor.
<td>Exactly the same as the to object but with an arrowhead in the center of the edge.</td>
<td>In general, the same as the to object but with an arrowhead in the center of the edge.
The only difference is that the direction of the arrow can be flipped by using a negative
value for <code>arrows.middle.scaleFactor</code>.</td>
Copy link

Choose a reason for hiding this comment

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

Consider dropping superfluous wording and wrapping the word to in single quotes:

<td>Similar to the 'to' object, but with an arrowhead in the center of the edge. The direction of the arrow can be flipped by using a negative value for <code>arrows.middle.scaleFactor</code>.</td>

@mbroad
Copy link

mbroad commented Sep 27, 2017

One nit. But this is fine as is if you don't like my suggestion.

@wimrijnders
Copy link
Author

I'm going with your suggestion; documentation should be as clear and concise as feasible.

@yotamberk yotamberk merged commit 663e294 into visjs:develop Sep 29, 2017
@wimrijnders wimrijnders deleted the pr3477Bis branch September 29, 2017 17:04
primozs pushed a commit to primozs/vis that referenced this pull request Jan 3, 2019
* Network: Adjust documentation for arrows.middle.scaleFactor

Addendum to visjs#3474.

Updated the documentation, so that users can know about flipping the middle arrow with a negative scale factor.

* Adjusted text for review
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants