{"action":"closed","issue":{"url":"https://api.github.com/repos/MaibornWolff/codecharta/issues/211","repository_url":"https://api.github.com/repos/MaibornWolff/codecharta","labels_url":"https://api.github.com/repos/MaibornWolff/codecharta/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/MaibornWolff/codecharta/issues/211/comments","events_url":"https://api.github.com/repos/MaibornWolff/codecharta/issues/211/events","html_url":"https://github.com/MaibornWolff/codecharta/issues/211","id":350748582,"node_id":"MDU6SXNzdWUzNTA3NDg1ODI=","number":211,"title":"Adjust visualization to new edges object from cc.json","user":{"login":"alschmut","id":23529226,"node_id":"MDQ6VXNlcjIzNTI5MjI2","avatar_url":"https://avatars1.githubusercontent.com/u/23529226?v=4","gravatar_id":"","url":"https://api.github.com/users/alschmut","html_url":"https://github.com/alschmut","followers_url":"https://api.github.com/users/alschmut/followers","following_url":"https://api.github.com/users/alschmut/following{/other_user}","gists_url":"https://api.github.com/users/alschmut/gists{/gist_id}","starred_url":"https://api.github.com/users/alschmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alschmut/subscriptions","organizations_url":"https://api.github.com/users/alschmut/orgs","repos_url":"https://api.github.com/users/alschmut/repos","events_url":"https://api.github.com/users/alschmut/events{/privacy}","received_events_url":"https://api.github.com/users/alschmut/received_events","type":"User","site_admin":false},"labels":[{"id":974658163,"node_id":"MDU6TGFiZWw5NzQ2NTgxNjM=","url":"https://api.github.com/repos/MaibornWolff/codecharta/labels/cc.json","name":"cc.json","color":"2bfff0","default":false},{"id":1012663600,"node_id":"MDU6TGFiZWwxMDEyNjYzNjAw","url":"https://api.github.com/repos/MaibornWolff/codecharta/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":817650028,"node_id":"MDU6TGFiZWw4MTc2NTAwMjg=","url":"https://api.github.com/repos/MaibornWolff/codecharta/labels/visualization","name":"visualization","color":"75e5af","default":false}],"state":"closed","locked":false,"assignee":{"login":"alschmut","id":23529226,"node_id":"MDQ6VXNlcjIzNTI5MjI2","avatar_url":"https://avatars1.githubusercontent.com/u/23529226?v=4","gravatar_id":"","url":"https://api.github.com/users/alschmut","html_url":"https://github.com/alschmut","followers_url":"https://api.github.com/users/alschmut/followers","following_url":"https://api.github.com/users/alschmut/following{/other_user}","gists_url":"https://api.github.com/users/alschmut/gists{/gist_id}","starred_url":"https://api.github.com/users/alschmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alschmut/subscriptions","organizations_url":"https://api.github.com/users/alschmut/orgs","repos_url":"https://api.github.com/users/alschmut/repos","events_url":"https://api.github.com/users/alschmut/events{/privacy}","received_events_url":"https://api.github.com/users/alschmut/received_events","type":"User","site_admin":false},"assignees":[{"login":"alschmut","id":23529226,"node_id":"MDQ6VXNlcjIzNTI5MjI2","avatar_url":"https://avatars1.githubusercontent.com/u/23529226?v=4","gravatar_id":"","url":"https://api.github.com/users/alschmut","html_url":"https://github.com/alschmut","followers_url":"https://api.github.com/users/alschmut/followers","following_url":"https://api.github.com/users/alschmut/following{/other_user}","gists_url":"https://api.github.com/users/alschmut/gists{/gist_id}","starred_url":"https://api.github.com/users/alschmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alschmut/subscriptions","organizations_url":"https://api.github.com/users/alschmut/orgs","repos_url":"https://api.github.com/users/alschmut/repos","events_url":"https://api.github.com/users/alschmut/events{/privacy}","received_events_url":"https://api.github.com/users/alschmut/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/MaibornWolff/codecharta/milestones/1","html_url":"https://github.com/MaibornWolff/codecharta/milestone/1","labels_url":"https://api.github.com/repos/MaibornWolff/codecharta/milestones/1/labels","id":3162134,"node_id":"MDk6TWlsZXN0b25lMzE2MjEzNA==","number":1,"title":"Edges","description":"We'd like to add a visualization for generic dependent edges in CodeCharta...","creator":{"login":"ukinimod","id":16349180,"node_id":"MDQ6VXNlcjE2MzQ5MTgw","avatar_url":"https://avatars1.githubusercontent.com/u/16349180?v=4","gravatar_id":"","url":"https://api.github.com/users/ukinimod","html_url":"https://github.com/ukinimod","followers_url":"https://api.github.com/users/ukinimod/followers","following_url":"https://api.github.com/users/ukinimod/following{/other_user}","gists_url":"https://api.github.com/users/ukinimod/gists{/gist_id}","starred_url":"https://api.github.com/users/ukinimod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukinimod/subscriptions","organizations_url":"https://api.github.com/users/ukinimod/orgs","repos_url":"https://api.github.com/users/ukinimod/repos","events_url":"https://api.github.com/users/ukinimod/events{/privacy}","received_events_url":"https://api.github.com/users/ukinimod/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":5,"state":"open","created_at":"2018-03-05T14:36:59Z","updated_at":"2018-08-15T18:39:00Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-15T09:44:40Z","updated_at":"2018-08-15T18:39:00Z","closed_at":"2018-08-15T18:39:00Z","author_association":"COLLABORATOR","body":"Original feature request was #172. Depends on #210.\r\n\r\nUse [feature/172/visualizing-edges](https://github.com/MaibornWolff/codecharta/tree/feature/172/visualizing-edges) to checkout a branch.\r\n\r\n## Description\r\n- Expect the imported cc.json to be with the new cc.json structure (see below). The dependencies-object becomes the edges-object (more or less).\r\n- Update the `exampleX.json` files to the new structure which get imported by default\r\n- Update the interfaces CodeMap, Dependency -> Edges, remove DependencyType inside `/codecharta/visualization/app/codeCharta/core/data/model/CodeMap.ts` \r\n- Update all tests (inside the visualization)\r\n- Update the current Temporal Coupling Tab in the Sidebar to adapt the newly created `Edges` interface\r\n- And please rename all added variables which contain the word `dependency`or `temporalCoupling` into `edge`.\r\n\r\n**Old** cc.json structure...\r\n\r\n```\r\n{\r\n  \"projectName\": \"Sample Project Temporal Coupling\",\r\n  \"apiVersion\": \"1.1\",\r\n  \"nodes\": []\r\n  \"dependencies\": {\r\n    \"temporal_coupling\": [\r\n      {\r\n        \"node\": \"/root/big leaf\",\r\n        \"nodeFilename\": \"big leaf\",\r\n        \"dependantNode\": \"/root/Parent Leaf/small leaf\",\r\n        \"dependantNodeFilename\": \"small leaf\",\r\n        \"pairingRate\": 42,\r\n        \"averageRevs\": 16\r\n      },\r\n      ...\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n**New** cc.json structure:\r\n\r\n```\r\n{\r\n  \"projectName\": \"Sample Project Temporal Coupling\",\r\n  \"apiVersion\": \"1.1\",\r\n  \"nodes\": []\r\n  \"edges\": [\r\n    {\r\n      \"fromNodeName\": \"/root/src/de/Foo.java\",\r\n      \"toNodeName\": \"/root/de/maibornwolff/codecharta/Bar.java\",\r\n      \"attributes\": {\r\n        \"averageRevs\": 9,\r\n        \"pairingRate\": 100\r\n      }\r\n    },\r\n    ...\r\n  ]\r\n}\r\n```"}}
{"actor":{"display_login":"alschmut"}}