{"action":"closed","issue":{"url":"https://api.github.com/repos/queirozfcom/rachinations/issues/70","labels_url":"https://api.github.com/repos/queirozfcom/rachinations/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/queirozfcom/rachinations/issues/70/comments","events_url":"https://api.github.com/repos/queirozfcom/rachinations/issues/70/events","html_url":"https://github.com/queirozfcom/rachinations/issues/70","id":53322841,"number":70,"title":"Think about what I would need to do to enable using nodes that are not yet created","user":{"login":"queirozfcom","id":1554354,"avatar_url":"https://avatars.githubusercontent.com/u/1554354?v=3","gravatar_id":"","url":"https://api.github.com/users/queirozfcom","html_url":"https://github.com/queirozfcom","followers_url":"https://api.github.com/users/queirozfcom/followers","following_url":"https://api.github.com/users/queirozfcom/following{/other_user}","gists_url":"https://api.github.com/users/queirozfcom/gists{/gist_id}","starred_url":"https://api.github.com/users/queirozfcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/queirozfcom/subscriptions","organizations_url":"https://api.github.com/users/queirozfcom/orgs","repos_url":"https://api.github.com/users/queirozfcom/repos","events_url":"https://api.github.com/users/queirozfcom/events{/privacy}","received_events_url":"https://api.github.com/users/queirozfcom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/queirozfcom/rachinations/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/queirozfcom/rachinations/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/queirozfcom/rachinations/labels/Severity:%20HIGH","name":"Severity: HIGH","color":"FF0000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-04T02:45:10Z","updated_at":"2015-01-26T05:58:20Z","closed_at":"2015-01-26T05:58:20Z","body":"Sometimes it seems more natural to define bahaviours of nodes in relation to nodes that were not yet created. For example, situations like the following:\r\n\r\n```ruby\r\n  # 'p1' is mentioned here but it's only created in the next line\r\n  source 's1', :automatic, triggers: 'p1' \r\n  pool 'p1'\r\n```\r\n\r\nIt's not very clear to me when this would actually raise errors (because it would depend on when methods are actually called on class `Diagram`) but it probably would eventually.\r\n\r\nMaybe I would need to defer the actual method calls until after all nodes, edges have been added."}}