{"action":"created","comment":{"url":"https://api.github.com/repos/krux/hyperion/pulls/comments/43315284","id":43315284,"diff_hunk":"@@ -0,0 +1,66 @@\n+package com.krux.hyperion.workflow\n+\n+import com.typesafe.config.{Config, ConfigFactory}\n+\n+import scala.collection.JavaConverters._\n+import com.amazonaws.services.datapipeline.model.PipelineObject\n+import com.krux.hyperion.DataPipelineDef\n+\n+import scala.util.Try\n+\n+case class WorkflowGraphRenderer(\n+  pipeline: DataPipelineDef,\n+  removeLastNameSegment: Boolean,\n+  includeResources: Boolean\n+) {\n+  private lazy val styles = ConfigFactory.load(\"reference\").getConfig(\"hyperion.graphviz.styles\")","path":"core/src/main/scala/com/krux/hyperion/workflow/WorkflowGraphRenderer.scala","position":16,"original_position":16,"commit_id":"85e70e61da8d0d1276d40eaed005d56d54f9160a","original_commit_id":"85e70e61da8d0d1276d40eaed005d56d54f9160a","user":{"login":"sethyates","id":29878,"avatar_url":"https://avatars.githubusercontent.com/u/29878?v=3","gravatar_id":"","url":"https://api.github.com/users/sethyates","html_url":"https://github.com/sethyates","followers_url":"https://api.github.com/users/sethyates/followers","following_url":"https://api.github.com/users/sethyates/following{/other_user}","gists_url":"https://api.github.com/users/sethyates/gists{/gist_id}","starred_url":"https://api.github.com/users/sethyates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethyates/subscriptions","organizations_url":"https://api.github.com/users/sethyates/orgs","repos_url":"https://api.github.com/users/sethyates/repos","events_url":"https://api.github.com/users/sethyates/events{/privacy}","received_events_url":"https://api.github.com/users/sethyates/received_events","type":"User","site_admin":false},"body":"`load` loads the resource.","created_at":"2015-10-28T20:46:12Z","updated_at":"2015-10-28T20:46:12Z","html_url":"https://github.com/krux/hyperion/pull/242#discussion_r43315284","pull_request_url":"https://api.github.com/repos/krux/hyperion/pulls/242","_links":{"self":{"href":"https://api.github.com/repos/krux/hyperion/pulls/comments/43315284"},"html":{"href":"https://github.com/krux/hyperion/pull/242#discussion_r43315284"},"pull_request":{"href":"https://api.github.com/repos/krux/hyperion/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/krux/hyperion/pulls/242","id":49061751,"html_url":"https://github.com/krux/hyperion/pull/242","diff_url":"https://github.com/krux/hyperion/pull/242.diff","patch_url":"https://github.com/krux/hyperion/pull/242.patch","issue_url":"https://api.github.com/repos/krux/hyperion/issues/242","number":242,"state":"open","locked":false,"title":"(Fixes #239) Capability to generate graph of workflow","user":{"login":"sethyates","id":29878,"avatar_url":"https://avatars.githubusercontent.com/u/29878?v=3","gravatar_id":"","url":"https://api.github.com/users/sethyates","html_url":"https://github.com/sethyates","followers_url":"https://api.github.com/users/sethyates/followers","following_url":"https://api.github.com/users/sethyates/following{/other_user}","gists_url":"https://api.github.com/users/sethyates/gists{/gist_id}","starred_url":"https://api.github.com/users/sethyates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethyates/subscriptions","organizations_url":"https://api.github.com/users/sethyates/orgs","repos_url":"https://api.github.com/users/sethyates/repos","events_url":"https://api.github.com/users/sethyates/events{/privacy}","received_events_url":"https://api.github.com/users/sethyates/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-28T20:24:33Z","updated_at":"2015-10-28T20:46:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"641fbe5a057208901e16d7bde3368fdf447c27a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/krux/hyperion/pulls/242/commits","review_comments_url":"https://api.github.com/repos/krux/hyperion/pulls/242/comments","review_comment_url":"https://api.github.com/repos/krux/hyperion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/krux/hyperion/issues/242/comments","statuses_url":"https://api.github.com/repos/krux/hyperion/statuses/85e70e61da8d0d1276d40eaed005d56d54f9160a","head":{"label":"sethyates:issue-239","ref":"issue-239","sha":"85e70e61da8d0d1276d40eaed005d56d54f9160a","user":{"login":"sethyates","id":29878,"avatar_url":"https://avatars.githubusercontent.com/u/29878?v=3","gravatar_id":"","url":"https://api.github.com/users/sethyates","html_url":"https://github.com/sethyates","followers_url":"https://api.github.com/users/sethyates/followers","following_url":"https://api.github.com/users/sethyates/following{/other_user}","gists_url":"https://api.github.com/users/sethyates/gists{/gist_id}","starred_url":"https://api.github.com/users/sethyates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethyates/subscriptions","organizations_url":"https://api.github.com/users/sethyates/orgs","repos_url":"https://api.github.com/users/sethyates/repos","events_url":"https://api.github.com/users/sethyates/events{/privacy}","received_events_url":"https://api.github.com/users/sethyates/received_events","type":"User","site_admin":false},"repo":{"id":41893277,"name":"hyperion","full_name":"sethyates/hyperion","owner":{"login":"sethyates","id":29878,"avatar_url":"https://avatars.githubusercontent.com/u/29878?v=3","gravatar_id":"","url":"https://api.github.com/users/sethyates","html_url":"https://github.com/sethyates","followers_url":"https://api.github.com/users/sethyates/followers","following_url":"https://api.github.com/users/sethyates/following{/other_user}","gists_url":"https://api.github.com/users/sethyates/gists{/gist_id}","starred_url":"https://api.github.com/users/sethyates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethyates/subscriptions","organizations_url":"https://api.github.com/users/sethyates/orgs","repos_url":"https://api.github.com/users/sethyates/repos","events_url":"https://api.github.com/users/sethyates/events{/privacy}","received_events_url":"https://api.github.com/users/sethyates/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sethyates/hyperion","description":"Scala library and abstractions for AWS DataPipeline","fork":true,"url":"https://api.github.com/repos/sethyates/hyperion","forks_url":"https://api.github.com/repos/sethyates/hyperion/forks","keys_url":"https://api.github.com/repos/sethyates/hyperion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sethyates/hyperion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sethyates/hyperion/teams","hooks_url":"https://api.github.com/repos/sethyates/hyperion/hooks","issue_events_url":"https://api.github.com/repos/sethyates/hyperion/issues/events{/number}","events_url":"https://api.github.com/repos/sethyates/hyperion/events","assignees_url":"https://api.github.com/repos/sethyates/hyperion/assignees{/user}","branches_url":"https://api.github.com/repos/sethyates/hyperion/branches{/branch}","tags_url":"https://api.github.com/repos/sethyates/hyperion/tags","blobs_url":"https://api.github.com/repos/sethyates/hyperion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sethyates/hyperion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sethyates/hyperion/git/refs{/sha}","trees_url":"https://api.github.com/repos/sethyates/hyperion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sethyates/hyperion/statuses/{sha}","languages_url":"https://api.github.com/repos/sethyates/hyperion/languages","stargazers_url":"https://api.github.com/repos/sethyates/hyperion/stargazers","contributors_url":"https://api.github.com/repos/sethyates/hyperion/contributors","subscribers_url":"https://api.github.com/repos/sethyates/hyperion/subscribers","subscription_url":"https://api.github.com/repos/sethyates/hyperion/subscription","commits_url":"https://api.github.com/repos/sethyates/hyperion/commits{/sha}","git_commits_url":"https://api.github.com/repos/sethyates/hyperion/git/commits{/sha}","comments_url":"https://api.github.com/repos/sethyates/hyperion/comments{/number}","issue_comment_url":"https://api.github.com/repos/sethyates/hyperion/issues/comments{/number}","contents_url":"https://api.github.com/repos/sethyates/hyperion/contents/{+path}","compare_url":"https://api.github.com/repos/sethyates/hyperion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sethyates/hyperion/merges","archive_url":"https://api.github.com/repos/sethyates/hyperion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sethyates/hyperion/downloads","issues_url":"https://api.github.com/repos/sethyates/hyperion/issues{/number}","pulls_url":"https://api.github.com/repos/sethyates/hyperion/pulls{/number}","milestones_url":"https://api.github.com/repos/sethyates/hyperion/milestones{/number}","notifications_url":"https://api.github.com/repos/sethyates/hyperion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sethyates/hyperion/labels{/name}","releases_url":"https://api.github.com/repos/sethyates/hyperion/releases{/id}","created_at":"2015-09-04T02:02:40Z","updated_at":"2015-09-04T02:02:41Z","pushed_at":"2015-10-28T08:30:15Z","git_url":"git://github.com/sethyates/hyperion.git","ssh_url":"git@github.com:sethyates/hyperion.git","clone_url":"https://github.com/sethyates/hyperion.git","svn_url":"https://github.com/sethyates/hyperion","homepage":"","size":1432,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"krux:master","ref":"master","sha":"b4cea3f611c16da7007ce243edc5942c32b1cfda","user":{"login":"krux","id":72871,"avatar_url":"https://avatars.githubusercontent.com/u/72871?v=3","gravatar_id":"","url":"https://api.github.com/users/krux","html_url":"https://github.com/krux","followers_url":"https://api.github.com/users/krux/followers","following_url":"https://api.github.com/users/krux/following{/other_user}","gists_url":"https://api.github.com/users/krux/gists{/gist_id}","starred_url":"https://api.github.com/users/krux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krux/subscriptions","organizations_url":"https://api.github.com/users/krux/orgs","repos_url":"https://api.github.com/users/krux/repos","events_url":"https://api.github.com/users/krux/events{/privacy}","received_events_url":"https://api.github.com/users/krux/received_events","type":"Organization","site_admin":false},"repo":{"id":32839544,"name":"hyperion","full_name":"krux/hyperion","owner":{"login":"krux","id":72871,"avatar_url":"https://avatars.githubusercontent.com/u/72871?v=3","gravatar_id":"","url":"https://api.github.com/users/krux","html_url":"https://github.com/krux","followers_url":"https://api.github.com/users/krux/followers","following_url":"https://api.github.com/users/krux/following{/other_user}","gists_url":"https://api.github.com/users/krux/gists{/gist_id}","starred_url":"https://api.github.com/users/krux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krux/subscriptions","organizations_url":"https://api.github.com/users/krux/orgs","repos_url":"https://api.github.com/users/krux/repos","events_url":"https://api.github.com/users/krux/events{/privacy}","received_events_url":"https://api.github.com/users/krux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/krux/hyperion","description":"Scala library and abstractions for AWS DataPipeline","fork":false,"url":"https://api.github.com/repos/krux/hyperion","forks_url":"https://api.github.com/repos/krux/hyperion/forks","keys_url":"https://api.github.com/repos/krux/hyperion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krux/hyperion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krux/hyperion/teams","hooks_url":"https://api.github.com/repos/krux/hyperion/hooks","issue_events_url":"https://api.github.com/repos/krux/hyperion/issues/events{/number}","events_url":"https://api.github.com/repos/krux/hyperion/events","assignees_url":"https://api.github.com/repos/krux/hyperion/assignees{/user}","branches_url":"https://api.github.com/repos/krux/hyperion/branches{/branch}","tags_url":"https://api.github.com/repos/krux/hyperion/tags","blobs_url":"https://api.github.com/repos/krux/hyperion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krux/hyperion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krux/hyperion/git/refs{/sha}","trees_url":"https://api.github.com/repos/krux/hyperion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krux/hyperion/statuses/{sha}","languages_url":"https://api.github.com/repos/krux/hyperion/languages","stargazers_url":"https://api.github.com/repos/krux/hyperion/stargazers","contributors_url":"https://api.github.com/repos/krux/hyperion/contributors","subscribers_url":"https://api.github.com/repos/krux/hyperion/subscribers","subscription_url":"https://api.github.com/repos/krux/hyperion/subscription","commits_url":"https://api.github.com/repos/krux/hyperion/commits{/sha}","git_commits_url":"https://api.github.com/repos/krux/hyperion/git/commits{/sha}","comments_url":"https://api.github.com/repos/krux/hyperion/comments{/number}","issue_comment_url":"https://api.github.com/repos/krux/hyperion/issues/comments{/number}","contents_url":"https://api.github.com/repos/krux/hyperion/contents/{+path}","compare_url":"https://api.github.com/repos/krux/hyperion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krux/hyperion/merges","archive_url":"https://api.github.com/repos/krux/hyperion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krux/hyperion/downloads","issues_url":"https://api.github.com/repos/krux/hyperion/issues{/number}","pulls_url":"https://api.github.com/repos/krux/hyperion/pulls{/number}","milestones_url":"https://api.github.com/repos/krux/hyperion/milestones{/number}","notifications_url":"https://api.github.com/repos/krux/hyperion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krux/hyperion/labels{/name}","releases_url":"https://api.github.com/repos/krux/hyperion/releases{/id}","created_at":"2015-03-25T03:07:31Z","updated_at":"2015-10-16T16:58:43Z","pushed_at":"2015-10-28T20:24:34Z","git_url":"git://github.com/krux/hyperion.git","ssh_url":"git@github.com:krux/hyperion.git","clone_url":"https://github.com/krux/hyperion.git","svn_url":"https://github.com/krux/hyperion","homepage":"","size":2446,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krux/hyperion/pulls/242"},"html":{"href":"https://github.com/krux/hyperion/pull/242"},"issue":{"href":"https://api.github.com/repos/krux/hyperion/issues/242"},"comments":{"href":"https://api.github.com/repos/krux/hyperion/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/krux/hyperion/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/krux/hyperion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/krux/hyperion/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/krux/hyperion/statuses/85e70e61da8d0d1276d40eaed005d56d54f9160a"}}}}