{"action":"created","comment":{"url":"https://api.github.com/repos/rdkit/rdkit/pulls/comments/55317507","id":55317507,"diff_hunk":"@@ -79,12 +91,26 @@ class MolDraw2D {\n       const std::map<int, double> *highlight_radii = NULL, int confId = -1);\n \n   virtual void drawMolecule(\n+      const ROMol &mol, const std::string &legend,\n+      const std::vector<int> *highlight_atoms = NULL,\n+      const std::map<int, DrawColour> *highlight_map = NULL,\n+      const std::map<int, double> *highlight_radii = NULL, int confId = -1);\n+\n+  virtual void drawMolecule(","path":"Code/GraphMol/MolDraw2D/MolDraw2D.h","position":44,"original_position":44,"commit_id":"ba4f7c0a47140eae18798ad2c53f0209c4d61d23","original_commit_id":"ba4f7c0a47140eae18798ad2c53f0209c4d61d23","user":{"login":"greglandrum","id":540511,"avatar_url":"https://avatars.githubusercontent.com/u/540511?v=3","gravatar_id":"","url":"https://api.github.com/users/greglandrum","html_url":"https://github.com/greglandrum","followers_url":"https://api.github.com/users/greglandrum/followers","following_url":"https://api.github.com/users/greglandrum/following{/other_user}","gists_url":"https://api.github.com/users/greglandrum/gists{/gist_id}","starred_url":"https://api.github.com/users/greglandrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglandrum/subscriptions","organizations_url":"https://api.github.com/users/greglandrum/orgs","repos_url":"https://api.github.com/users/greglandrum/repos","events_url":"https://api.github.com/users/greglandrum/events{/privacy}","received_events_url":"https://api.github.com/users/greglandrum/received_events","type":"User","site_admin":false},"body":"Exactly: it's to provide a decent API while maintaining backwards compatibility. I agree completely that it's a lot of overloads, but this is one of those situations where C++'s lack of real keyword arguments is a major pain in the ass.","created_at":"2016-03-08T05:17:16Z","updated_at":"2016-03-08T05:17:16Z","html_url":"https://github.com/rdkit/rdkit/pull/802#discussion_r55317507","pull_request_url":"https://api.github.com/repos/rdkit/rdkit/pulls/802","_links":{"self":{"href":"https://api.github.com/repos/rdkit/rdkit/pulls/comments/55317507"},"html":{"href":"https://github.com/rdkit/rdkit/pull/802#discussion_r55317507"},"pull_request":{"href":"https://api.github.com/repos/rdkit/rdkit/pulls/802"}}},"pull_request":{"url":"https://api.github.com/repos/rdkit/rdkit/pulls/802","id":61834272,"html_url":"https://github.com/rdkit/rdkit/pull/802","diff_url":"https://github.com/rdkit/rdkit/pull/802.diff","patch_url":"https://github.com/rdkit/rdkit/pull/802.patch","issue_url":"https://api.github.com/repos/rdkit/rdkit/issues/802","number":802,"state":"open","locked":false,"title":"A number of small additions and features to the drawing code","user":{"login":"greglandrum","id":540511,"avatar_url":"https://avatars.githubusercontent.com/u/540511?v=3","gravatar_id":"","url":"https://api.github.com/users/greglandrum","html_url":"https://github.com/greglandrum","followers_url":"https://api.github.com/users/greglandrum/followers","following_url":"https://api.github.com/users/greglandrum/following{/other_user}","gists_url":"https://api.github.com/users/greglandrum/gists{/gist_id}","starred_url":"https://api.github.com/users/greglandrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglandrum/subscriptions","organizations_url":"https://api.github.com/users/greglandrum/orgs","repos_url":"https://api.github.com/users/greglandrum/repos","events_url":"https://api.github.com/users/greglandrum/events{/privacy}","received_events_url":"https://api.github.com/users/greglandrum/received_events","type":"User","site_admin":false},"body":"Includes:\r\n- progress on #773\r\n- including legends\r\n- wider wedges\r\n- better dashes\r\n- fixes to `getAtomCoords()`\r\n","created_at":"2016-03-06T05:17:41Z","updated_at":"2016-03-08T05:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c008bd4cef3f7c0d31fe6bc2e65610309a12e1e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rdkit/rdkit/pulls/802/commits","review_comments_url":"https://api.github.com/repos/rdkit/rdkit/pulls/802/comments","review_comment_url":"https://api.github.com/repos/rdkit/rdkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rdkit/rdkit/issues/802/comments","statuses_url":"https://api.github.com/repos/rdkit/rdkit/statuses/ba4f7c0a47140eae18798ad2c53f0209c4d61d23","head":{"label":"greglandrum:dev/github773_new","ref":"dev/github773_new","sha":"ba4f7c0a47140eae18798ad2c53f0209c4d61d23","user":{"login":"greglandrum","id":540511,"avatar_url":"https://avatars.githubusercontent.com/u/540511?v=3","gravatar_id":"","url":"https://api.github.com/users/greglandrum","html_url":"https://github.com/greglandrum","followers_url":"https://api.github.com/users/greglandrum/followers","following_url":"https://api.github.com/users/greglandrum/following{/other_user}","gists_url":"https://api.github.com/users/greglandrum/gists{/gist_id}","starred_url":"https://api.github.com/users/greglandrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglandrum/subscriptions","organizations_url":"https://api.github.com/users/greglandrum/orgs","repos_url":"https://api.github.com/users/greglandrum/repos","events_url":"https://api.github.com/users/greglandrum/events{/privacy}","received_events_url":"https://api.github.com/users/greglandrum/received_events","type":"User","site_admin":false},"repo":{"id":40303040,"name":"rdkit","full_name":"greglandrum/rdkit","owner":{"login":"greglandrum","id":540511,"avatar_url":"https://avatars.githubusercontent.com/u/540511?v=3","gravatar_id":"","url":"https://api.github.com/users/greglandrum","html_url":"https://github.com/greglandrum","followers_url":"https://api.github.com/users/greglandrum/followers","following_url":"https://api.github.com/users/greglandrum/following{/other_user}","gists_url":"https://api.github.com/users/greglandrum/gists{/gist_id}","starred_url":"https://api.github.com/users/greglandrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglandrum/subscriptions","organizations_url":"https://api.github.com/users/greglandrum/orgs","repos_url":"https://api.github.com/users/greglandrum/repos","events_url":"https://api.github.com/users/greglandrum/events{/privacy}","received_events_url":"https://api.github.com/users/greglandrum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greglandrum/rdkit","description":"The official sources for the RDKit library","fork":true,"url":"https://api.github.com/repos/greglandrum/rdkit","forks_url":"https://api.github.com/repos/greglandrum/rdkit/forks","keys_url":"https://api.github.com/repos/greglandrum/rdkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greglandrum/rdkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greglandrum/rdkit/teams","hooks_url":"https://api.github.com/repos/greglandrum/rdkit/hooks","issue_events_url":"https://api.github.com/repos/greglandrum/rdkit/issues/events{/number}","events_url":"https://api.github.com/repos/greglandrum/rdkit/events","assignees_url":"https://api.github.com/repos/greglandrum/rdkit/assignees{/user}","branches_url":"https://api.github.com/repos/greglandrum/rdkit/branches{/branch}","tags_url":"https://api.github.com/repos/greglandrum/rdkit/tags","blobs_url":"https://api.github.com/repos/greglandrum/rdkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greglandrum/rdkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greglandrum/rdkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/greglandrum/rdkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greglandrum/rdkit/statuses/{sha}","languages_url":"https://api.github.com/repos/greglandrum/rdkit/languages","stargazers_url":"https://api.github.com/repos/greglandrum/rdkit/stargazers","contributors_url":"https://api.github.com/repos/greglandrum/rdkit/contributors","subscribers_url":"https://api.github.com/repos/greglandrum/rdkit/subscribers","subscription_url":"https://api.github.com/repos/greglandrum/rdkit/subscription","commits_url":"https://api.github.com/repos/greglandrum/rdkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/greglandrum/rdkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/greglandrum/rdkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/greglandrum/rdkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/greglandrum/rdkit/contents/{+path}","compare_url":"https://api.github.com/repos/greglandrum/rdkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greglandrum/rdkit/merges","archive_url":"https://api.github.com/repos/greglandrum/rdkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greglandrum/rdkit/downloads","issues_url":"https://api.github.com/repos/greglandrum/rdkit/issues{/number}","pulls_url":"https://api.github.com/repos/greglandrum/rdkit/pulls{/number}","milestones_url":"https://api.github.com/repos/greglandrum/rdkit/milestones{/number}","notifications_url":"https://api.github.com/repos/greglandrum/rdkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greglandrum/rdkit/labels{/name}","releases_url":"https://api.github.com/repos/greglandrum/rdkit/releases{/id}","deployments_url":"https://api.github.com/repos/greglandrum/rdkit/deployments","created_at":"2015-08-06T12:14:42Z","updated_at":"2015-08-06T12:14:55Z","pushed_at":"2016-03-06T04:55:59Z","git_url":"git://github.com/greglandrum/rdkit.git","ssh_url":"git@github.com:greglandrum/rdkit.git","clone_url":"https://github.com/greglandrum/rdkit.git","svn_url":"https://github.com/greglandrum/rdkit","homepage":"","size":96066,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rdkit:master","ref":"master","sha":"e1b70bf84f841a0b03793ed1ed6c08fd4f3c166a","user":{"login":"rdkit","id":2018047,"avatar_url":"https://avatars.githubusercontent.com/u/2018047?v=3","gravatar_id":"","url":"https://api.github.com/users/rdkit","html_url":"https://github.com/rdkit","followers_url":"https://api.github.com/users/rdkit/followers","following_url":"https://api.github.com/users/rdkit/following{/other_user}","gists_url":"https://api.github.com/users/rdkit/gists{/gist_id}","starred_url":"https://api.github.com/users/rdkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdkit/subscriptions","organizations_url":"https://api.github.com/users/rdkit/orgs","repos_url":"https://api.github.com/users/rdkit/repos","events_url":"https://api.github.com/users/rdkit/events{/privacy}","received_events_url":"https://api.github.com/users/rdkit/received_events","type":"Organization","site_admin":false},"repo":{"id":10009991,"name":"rdkit","full_name":"rdkit/rdkit","owner":{"login":"rdkit","id":2018047,"avatar_url":"https://avatars.githubusercontent.com/u/2018047?v=3","gravatar_id":"","url":"https://api.github.com/users/rdkit","html_url":"https://github.com/rdkit","followers_url":"https://api.github.com/users/rdkit/followers","following_url":"https://api.github.com/users/rdkit/following{/other_user}","gists_url":"https://api.github.com/users/rdkit/gists{/gist_id}","starred_url":"https://api.github.com/users/rdkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdkit/subscriptions","organizations_url":"https://api.github.com/users/rdkit/orgs","repos_url":"https://api.github.com/users/rdkit/repos","events_url":"https://api.github.com/users/rdkit/events{/privacy}","received_events_url":"https://api.github.com/users/rdkit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rdkit/rdkit","description":"The official sources for the RDKit library","fork":false,"url":"https://api.github.com/repos/rdkit/rdkit","forks_url":"https://api.github.com/repos/rdkit/rdkit/forks","keys_url":"https://api.github.com/repos/rdkit/rdkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdkit/rdkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdkit/rdkit/teams","hooks_url":"https://api.github.com/repos/rdkit/rdkit/hooks","issue_events_url":"https://api.github.com/repos/rdkit/rdkit/issues/events{/number}","events_url":"https://api.github.com/repos/rdkit/rdkit/events","assignees_url":"https://api.github.com/repos/rdkit/rdkit/assignees{/user}","branches_url":"https://api.github.com/repos/rdkit/rdkit/branches{/branch}","tags_url":"https://api.github.com/repos/rdkit/rdkit/tags","blobs_url":"https://api.github.com/repos/rdkit/rdkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdkit/rdkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdkit/rdkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdkit/rdkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdkit/rdkit/statuses/{sha}","languages_url":"https://api.github.com/repos/rdkit/rdkit/languages","stargazers_url":"https://api.github.com/repos/rdkit/rdkit/stargazers","contributors_url":"https://api.github.com/repos/rdkit/rdkit/contributors","subscribers_url":"https://api.github.com/repos/rdkit/rdkit/subscribers","subscription_url":"https://api.github.com/repos/rdkit/rdkit/subscription","commits_url":"https://api.github.com/repos/rdkit/rdkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdkit/rdkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdkit/rdkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdkit/rdkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdkit/rdkit/contents/{+path}","compare_url":"https://api.github.com/repos/rdkit/rdkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdkit/rdkit/merges","archive_url":"https://api.github.com/repos/rdkit/rdkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdkit/rdkit/downloads","issues_url":"https://api.github.com/repos/rdkit/rdkit/issues{/number}","pulls_url":"https://api.github.com/repos/rdkit/rdkit/pulls{/number}","milestones_url":"https://api.github.com/repos/rdkit/rdkit/milestones{/number}","notifications_url":"https://api.github.com/repos/rdkit/rdkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdkit/rdkit/labels{/name}","releases_url":"https://api.github.com/repos/rdkit/rdkit/releases{/id}","deployments_url":"https://api.github.com/repos/rdkit/rdkit/deployments","created_at":"2013-05-12T06:19:15Z","updated_at":"2016-03-04T10:09:35Z","pushed_at":"2016-03-06T05:17:41Z","git_url":"git://github.com/rdkit/rdkit.git","ssh_url":"git@github.com:rdkit/rdkit.git","clone_url":"https://github.com/rdkit/rdkit.git","svn_url":"https://github.com/rdkit/rdkit","homepage":"","size":98061,"stargazers_count":132,"watchers_count":132,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":139,"forks":96,"open_issues":139,"watchers":132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rdkit/rdkit/pulls/802"},"html":{"href":"https://github.com/rdkit/rdkit/pull/802"},"issue":{"href":"https://api.github.com/repos/rdkit/rdkit/issues/802"},"comments":{"href":"https://api.github.com/repos/rdkit/rdkit/issues/802/comments"},"review_comments":{"href":"https://api.github.com/repos/rdkit/rdkit/pulls/802/comments"},"review_comment":{"href":"https://api.github.com/repos/rdkit/rdkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rdkit/rdkit/pulls/802/commits"},"statuses":{"href":"https://api.github.com/repos/rdkit/rdkit/statuses/ba4f7c0a47140eae18798ad2c53f0209c4d61d23"}}}}