{"action":"opened","issue":{"url":"https://api.github.com/repos/clue/graph/issues/116","labels_url":"https://api.github.com/repos/clue/graph/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/clue/graph/issues/116/comments","events_url":"https://api.github.com/repos/clue/graph/issues/116/events","html_url":"https://github.com/clue/graph/issues/116","id":53302449,"number":116,"title":"Consolidate Graph Builders","user":{"login":"clue","id":776829,"avatar_url":"https://avatars.githubusercontent.com/u/776829?v=3","gravatar_id":"","url":"https://api.github.com/users/clue","html_url":"https://github.com/clue","followers_url":"https://api.github.com/users/clue/followers","following_url":"https://api.github.com/users/clue/following{/other_user}","gists_url":"https://api.github.com/users/clue/gists{/gist_id}","starred_url":"https://api.github.com/users/clue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clue/subscriptions","organizations_url":"https://api.github.com/users/clue/orgs","repos_url":"https://api.github.com/users/clue/repos","events_url":"https://api.github.com/users/clue/events{/privacy}","received_events_url":"https://api.github.com/users/clue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clue/graph/labels/help+wanted","name":"help wanted","color":"009800"},{"url":"https://api.github.com/repos/clue/graph/labels/maintenance","name":"maintenance","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-03T12:03:32Z","updated_at":"2015-01-03T12:03:32Z","closed_at":null,"body":"We currently have several classes that are concerned with creating / building graphs from certain parameters or input graphs:\r\n\r\n* `Algorithm\\ResidualGraph`\r\n* `Algorithm\\TransposeGraph`\r\n* `Loader\\CompleteGraph`\r\n* Future `ComplementGraph` (see #60)\r\n* *Possibly some others*\r\n\r\nIMHO both `Algorithm` and `Loader` are bad descriptions and do not quite describe their responsibility. As a first step, I'd vote for grouping these in a new `Builder` (or similar) namespace. In the future we should work out a decent API (interface)."}}