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

adding the option of drawing a background to the edges. #3606

Merged
merged 5 commits into from
Oct 23, 2017

Conversation

yoavdamri
Copy link
Contributor

Thank you for contributing to vis.js!!

Please make sure to check the following requirements before creating a pull request:

  • [V] All pull requests must be to the develop branch. Pull requests to the master branch will be closed!
  • [V] Make sure your changes are based on the latest version of the develop branch. (Use e.g. git fetch && git rebase origin develop to update your feature branch).
  • [V] Provide an additional or update an example to demonstrate your changes or new features.
  • [V] Update the documentation if you introduced new behavior or changed existing behavior.

@wimrijnders
Copy link
Contributor

Please replace the initial comment with your won description, so that we know what it's about.

@yoavdamri yoavdamri changed the title Develop adding the option of drawing a background to the edges. Oct 23, 2017
Copy link
Member

@mojoaxel mojoaxel left a comment

Choose a reason for hiding this comment

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

@yoavdamri Thanks very much for your contributions! We are very happy! 🎉

Can you please make sure you only change the lines of code, you really had to change.

You just can make new changes in you develop branch an push them. This PR will automatically update.

Thanks!

@@ -1,7 +1,6 @@
let util = require("../../../../../util");
let EndPoints = require("./EndPoints").default;


Copy link
Member

Choose a reason for hiding this comment

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

@yoavdamri Could you please only change the lines of code that really needs to be changed. Syntax "improvements" should not be mixed with other pull requests. The only change in this file should be the drawBackground and the setStrokeDashed functions.
I know this was probably your editor that did those changes but maybe you can teach it not to this!? Thanks

@@ -0,0 +1,67 @@
<!doctype html>
Copy link
Member

Choose a reason for hiding this comment

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

@yoavdamri Thanks for creating an example! 🥇

@@ -4,66 +4,115 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
Copy link
Member

Choose a reason for hiding this comment

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

Puh! You really should not change every line in this document! Please only add your lines. It's impossible to review like this.

@yoavdamri
Copy link
Contributor Author

Sorry for the unwanted changes i commit, it is because of the idea auto formatting.
i did the changes, anything else?

@mojoaxel
Copy link
Member

LGTM!
@yoavdamri Nice Job! Well done. Thanks!

@mojoaxel mojoaxel merged commit cdff6b1 into almende:develop Oct 23, 2017
@wimrijnders
Copy link
Contributor

wimrijnders commented Oct 24, 2017

@yoavdamri But still, please change the initial comment, so we know what it's about!

@yoavdamri
Copy link
Contributor Author

@wimrijnders i don't think i have to option to do it. is there a document describes howto do it?

@wimrijnders
Copy link
Contributor

You sure about that? You are the owner of the comment, you should be able to click on the pencil icon to change it.

I you really can't change it, make a new comment with a description of the PR and I'll paste it in.

@wimrijnders
Copy link
Contributor

@yoavdamri I have to say you did a wonderful job. Thanks for updating the documentation as well and adding a demo. Not adding a unit test can be forgiven, because your addition is a visual thing.

Please do come back for more changes!

mojoaxel pushed a commit to visjs/vis_original that referenced this pull request Jun 9, 2019
* background docs
* edge background
* Update edges.html
* Update EdgeBase.js
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.

3 participants