{"action":"created","issue":{"url":"https://api.github.com/repos/ucoin-io/sakia/issues/208","labels_url":"https://api.github.com/repos/ucoin-io/sakia/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/ucoin-io/sakia/issues/208/comments","events_url":"https://api.github.com/repos/ucoin-io/sakia/issues/208/events","html_url":"https://github.com/ucoin-io/sakia/issues/208","id":106184662,"number":208,"title":"Enhance the WoT view","user":{"login":"Insoleet","id":1170293,"avatar_url":"https://avatars.githubusercontent.com/u/1170293?v=3","gravatar_id":"","url":"https://api.github.com/users/Insoleet","html_url":"https://github.com/Insoleet","followers_url":"https://api.github.com/users/Insoleet/followers","following_url":"https://api.github.com/users/Insoleet/following{/other_user}","gists_url":"https://api.github.com/users/Insoleet/gists{/gist_id}","starred_url":"https://api.github.com/users/Insoleet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insoleet/subscriptions","organizations_url":"https://api.github.com/users/Insoleet/orgs","repos_url":"https://api.github.com/users/Insoleet/repos","events_url":"https://api.github.com/users/Insoleet/events{/privacy}","received_events_url":"https://api.github.com/users/Insoleet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ucoin-io/sakia/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Insoleet","id":1170293,"avatar_url":"https://avatars.githubusercontent.com/u/1170293?v=3","gravatar_id":"","url":"https://api.github.com/users/Insoleet","html_url":"https://github.com/Insoleet","followers_url":"https://api.github.com/users/Insoleet/followers","following_url":"https://api.github.com/users/Insoleet/following{/other_user}","gists_url":"https://api.github.com/users/Insoleet/gists{/gist_id}","starred_url":"https://api.github.com/users/Insoleet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insoleet/subscriptions","organizations_url":"https://api.github.com/users/Insoleet/orgs","repos_url":"https://api.github.com/users/Insoleet/repos","events_url":"https://api.github.com/users/Insoleet/events{/privacy}","received_events_url":"https://api.github.com/users/Insoleet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ucoin-io/sakia/milestones/8","html_url":"https://github.com/ucoin-io/sakia/milestones/Sakia%200.12","labels_url":"https://api.github.com/repos/ucoin-io/sakia/milestones/8/labels","id":1193754,"number":8,"title":"Sakia 0.12","description":"","creator":{"login":"Insoleet","id":1170293,"avatar_url":"https://avatars.githubusercontent.com/u/1170293?v=3","gravatar_id":"","url":"https://api.github.com/users/Insoleet","html_url":"https://github.com/Insoleet","followers_url":"https://api.github.com/users/Insoleet/followers","following_url":"https://api.github.com/users/Insoleet/following{/other_user}","gists_url":"https://api.github.com/users/Insoleet/gists{/gist_id}","starred_url":"https://api.github.com/users/Insoleet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insoleet/subscriptions","organizations_url":"https://api.github.com/users/Insoleet/orgs","repos_url":"https://api.github.com/users/Insoleet/repos","events_url":"https://api.github.com/users/Insoleet/events{/privacy}","received_events_url":"https://api.github.com/users/Insoleet/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":3,"state":"open","created_at":"2015-07-05T17:38:08Z","updated_at":"2015-12-25T19:45:07Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2015-09-12T20:55:37Z","updated_at":"2016-01-04T12:54:17Z","closed_at":null,"body":"I think we could enhance the wot view so that he could be animated, clickable, browsed...\r\n\r\n\r\nThis python library looks pretty good to do such a thing : \r\nhttps://www.nodebox.net/code/index.php/Graph\r\nhttps://github.com/nodebox/nodebox-opengl\r\n\r\nhttps://jakevdp.github.io/blog/2013/03/23/matplotlib-and-the-future-of-visualization-in-python/\r\n\r\nhttps://github.com/bokeh/bokeh"},"comment":{"url":"https://api.github.com/repos/ucoin-io/sakia/issues/comments/168671160","html_url":"https://github.com/ucoin-io/sakia/issues/208#issuecomment-168671160","issue_url":"https://api.github.com/repos/ucoin-io/sakia/issues/208","id":168671160,"user":{"login":"M5oul","id":4758871,"avatar_url":"https://avatars.githubusercontent.com/u/4758871?v=3","gravatar_id":"","url":"https://api.github.com/users/M5oul","html_url":"https://github.com/M5oul","followers_url":"https://api.github.com/users/M5oul/followers","following_url":"https://api.github.com/users/M5oul/following{/other_user}","gists_url":"https://api.github.com/users/M5oul/gists{/gist_id}","starred_url":"https://api.github.com/users/M5oul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M5oul/subscriptions","organizations_url":"https://api.github.com/users/M5oul/orgs","repos_url":"https://api.github.com/users/M5oul/repos","events_url":"https://api.github.com/users/M5oul/events{/privacy}","received_events_url":"https://api.github.com/users/M5oul/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T12:54:17Z","updated_at":"2016-01-04T12:54:17Z","body":"Ok, I installed graphviz `sudo dnf install graphviz`, then\r\n```bash\r\n(env-sakia) [moul@moulinette sakia]$ pip install pygraphviz\r\nCollecting pygraphviz\r\n  Using cached pygraphviz-1.3.1.tar.gz\r\nInstalling collected packages: pygraphviz\r\n  Running setup.py install for pygraphviz\r\n    Complete output from command /home/moul/.pyenv/versions/env-sakia/bin/python3.5 -c \"import setuptools, tokenize;__file__='/tmp/pip-build-r1mr5lt0/pygraphviz/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-r2va_ym2-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/moul/.pyenv/versions/env-sakia/include/site/python3.5/pygraphviz:\r\n    running install\r\n    Package libcgraph was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libcgraph.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libcgraph' found\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-build-r1mr5lt0/pygraphviz/setup.py\", line 87, in <module>\r\n        tests_require=['nose>=0.10.1', 'doctest-ignore-unicode>=0.1.0',],\r\n      File \"/home/moul/.pyenv/versions/3.5.0/lib/python3.5/distutils/core.py\", line 148, in setup\r\n        dist.run_commands()\r\n      File \"/home/moul/.pyenv/versions/3.5.0/lib/python3.5/distutils/dist.py\", line 955, in run_commands\r\n        self.run_command(cmd)\r\n      File \"/home/moul/.pyenv/versions/3.5.0/lib/python3.5/distutils/dist.py\", line 974, in run_command\r\n        cmd_obj.run()\r\n      File \"/tmp/pip-build-r1mr5lt0/pygraphviz/setup_commands.py\", line 44, in modified_run\r\n        self.include_path, self.library_path = get_graphviz_dirs()\r\n      File \"/tmp/pip-build-r1mr5lt0/pygraphviz/setup_extra.py\", line 121, in get_graphviz_dirs\r\n        include_dirs, library_dirs = _pkg_config()\r\n      File \"/tmp/pip-build-r1mr5lt0/pygraphviz/setup_extra.py\", line 44, in _pkg_config\r\n        output = S.check_output(['pkg-config', '--libs-only-L', 'libcgraph'])\r\n      File \"/home/moul/.pyenv/versions/3.5.0/lib/python3.5/subprocess.py\", line 629, in check_output\r\n        **kwargs).stdout\r\n      File \"/home/moul/.pyenv/versions/3.5.0/lib/python3.5/subprocess.py\", line 711, in run\r\n        output=stdout, stderr=stderr)\r\n    subprocess.CalledProcessError: Command '['pkg-config', '--libs-only-L', 'libcgraph']' returned non-zero exit status 1\r\n    Trying pkg-config\r\n    \r\n    ----------------------------------------\r\nCommand \"/home/moul/.pyenv/versions/env-sakia/bin/python3.5 -c \"import setuptools, tokenize;__file__='/tmp/pip-build-r1mr5lt0/pygraphviz/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-r2va_ym2-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/moul/.pyenv/versions/env-sakia/include/site/python3.5/pygraphviz\" failed with error code 1 in /tmp/pip-build-r1mr5lt0/pygraphviz\r\n```\r\n\r\n```bash\r\n  File \"/home/moul/projects/sakia/build/src/sakia/gui/graphs/explorer_tab.py\", line 85, in refresh\r\n    self.graphicsView.scene().update_wot(self.graph.nx_graph, self._current_identity, self.steps_slider.maximum())\r\n  File \"/home/moul/projects/sakia/build/src/sakia/gui/views/explorer.py\", line 100, in update_wot\r\n    graph_pos = networkx.pygraphviz_layout(nx_graph, prog=\"twopi\")\r\n  File \"/home/moul/.pyenv/versions/env-sakia/lib/python3.5/site-packages/networkx/drawing/nx_agraph.py\", line 256, in pygraphviz_layout\r\n    'http://pygraphviz.github.io/')\r\nImportError: ('requires pygraphviz ', 'http://pygraphviz.github.io/')\r\n```"}}