|
1 |
| -| **Authors** | **Project** | |
2 |
| -|:------------:|:-----------:| |
3 |
| -| N. Curti | BlendNet | |
| 1 | +| **Authors** | **Project** | **Build Status** | |
| 2 | +|:-----------------------------------------------:|:-----------:| |
| 3 | +| [**N. Curti**](https://github.com/Nico-Curti) | **BlendNet**| **Linux/OSX** : [![travis]()](https://travis-ci.com/Nico-Curti/BlendNet) <br/> **Windows** : [![Windows]()]() | |
| 4 | + |
| 5 | +[](https://github.com/Nico-Curti/BlendNet/pulls) |
| 6 | +[](https://github.com/Nico-Curti/BlendNet/issues) |
| 7 | + |
| 8 | +[](https://github.com/Nico-Curti/BlendNet/stargazers) |
| 9 | +[](https://github.com/Nico-Curti/BlendNet/watchers) |
4 | 10 |
|
5 | 11 | <a href="https://github.com/physycom">
|
6 | 12 | <div class="image">
|
7 | 13 | <img src="https://cdn.rawgit.com/physycom/templates/697b327d/logo_unibo.png" width="90" height="90">
|
8 | 14 | </div>
|
9 | 15 | </a>
|
10 | 16 |
|
11 |
| -# Blender Network viewer |
| 17 | +# BlendNet |
| 18 | +### (Blender Network viewer) |
12 | 19 |
|
13 |
| -<a href="https://github.com/Nico-Curti/blend_net/blob/master/example/star_graph.png"> |
| 20 | +<a href="https://github.com/Nico-Curti/BlendNet/blob/master/example/star_graph.png"> |
14 | 21 | <div class="image">
|
15 |
| -<img src="https://github.com/Nico-Curti/blend_net/blob/master/example/star_graph.png" width="960" height="540"> |
| 22 | +<img src="https://github.com/Nico-Curti/BlendNet/blob/master/example/star_graph.png" width="960" height="540"> |
16 | 23 | </div>
|
17 | 24 | </a>
|
18 | 25 |
|
19 |
| -One of the biggest problem during graph visualization is to obtain good results in 3D environment. [Blender](https://www.blender.org/) software allow to create very beautifull 3D objects and it is very easy to use throw the python support. |
| 26 | +One of the biggest problem during graph visualization is to obtain good results in 3D environment. [Blender](https://www.blender.org/) software allows to create very beautiful 3D objects and it is very easy to use by Python API. |
20 | 27 |
|
21 |
| -**BlendNet** project include a simple python interface to Blender environment to draw network in 2D and 3D as required in the input file. |
| 28 | +**BlendNet** project include a simple single-file python interface to draw network in 2D and 3D using Blender support. |
22 | 29 |
|
23 |
| -## Installation |
| 30 | +1. [Why BlendNet?](#why) |
| 31 | +2. [Prerequisites](#prerequisites) |
| 32 | +3. [Installation](#installation) |
| 33 | +4. [Authors](#authors) |
| 34 | +5. [License](#license) |
| 35 | +6. [Contribution](#contribution) |
| 36 | +7. [Acknowledgments](#acknowledgments) |
| 37 | +8. [Citation](#citation) |
| 38 | + |
| 39 | +## Why BlendNet? |
| 40 | + |
| 41 | +Graph visualization is still an open problem in many applications. |
| 42 | +Commonly the problem is related to large graph visualization in which problems arise from the rendering of a large number of nodes and a greater number of links between them. |
| 43 | +An other open problem concern the multi-dimensional visualization of the graphs. |
| 44 | +Despite the most common graph tools compute the node coordinates in a any space dimensions (and clearly the maximum number of possible dimension for a visualization is still three) the real visualization is often allowed only a 2D space. |
| 45 | +The counterpart of these problems concern the pretty visualization of the graphs that it is often ignored in many tools but it can be guarantee a good result, the so called wow-effect, in a presentation. |
| 46 | + |
| 47 | +BlendNet is a custom tool written in Python with the help of Blender API. |
| 48 | +Blender is now a standard in the 3D rendering and it is commonly used in a wide range of graphical applications, starting from the simpler 3D dynamics to the video-games applications. |
| 49 | +Blender is certainly more than a simple graphical viewer but the easy Python interface and the wide on-line documentation and blogs make it a useful tool for graphical representation of 3D structures. |
24 | 50 |
|
25 |
| -The scripts [install.sh](https://github.com/Nico-Curti/blend_net/blob/master/install.sh) and [install.ps1](https://github.com/Nico-Curti/blend_net/blob/master/install.ps1) cover a full installation example of Blender and project dependencies for Unix and Windows users, respectivelly. |
| 51 | +## Prerequisites |
26 | 52 |
|
27 |
| -## How to use |
| 53 | +**BlendNet** package uses Blender to render the network structure so install it before use it. |
| 54 | +A full list of Blender instruction can be found [here](https://www.blender.org/download/). |
28 | 55 |
|
29 |
| -The [Makefile](https://github.com/Nico-Curti/blend_net/blob/master/Makefile) cover a list of examples and command lines instructions about different inputs available. Just type `make help` to see the full list of available rules: |
| 56 | +Then you have to update the list of packages of the Python version inside Blender. |
| 57 | +So go to the `path_to_blender/version/python/bin` directory and download `pip` as package manager and use it to install `networkx` `pandas` `matplotlib` `numpy` or use the [requirements.txt]() file inside the project as `pip install -r path_to_BlendNet/requirements.txt`. |
| 58 | + |
| 59 | +## Installation |
| 60 | + |
| 61 | +The scripts [install.sh](https://github.com/Nico-Curti/BlendNet/blob/master/install.sh) and [install.ps1](https://github.com/Nico-Curti/BlendNet/blob/master/install.ps1) cover a full installation example of Blender and project dependencies for Unix and Windows users, respectively. To use it please download also the submodules of the project. The full list of dependencies will be installed as no-root users so any trouble about user-privileges is ignored. |
| 62 | + |
| 63 | +The [Makefile](https://github.com/Nico-Curti/BlendNet/blob/master/Makefile) cover a list of examples and command lines instructions about different inputs available. Just type `make help` to see the full list of available rules: |
30 | 64 |
|
31 | 65 | ```bash
|
32 | 66 | **Blender viewer for graph**
|
@@ -57,14 +91,42 @@ To beginner:
|
57 | 91 |
|
58 | 92 | A list of examples could be found in [example](https://github.com/Nico-Curti/blend_net/tree/master/example) directory.
|
59 | 93 |
|
60 |
| -## Contributions |
61 |
| - |
62 |
| -Any contribution is more than welcome. Just fill an issue or a pull request and I will check ASAP! |
63 | 94 |
|
64 | 95 | ## Authors
|
65 | 96 |
|
66 | 97 | * **Nico Curti** [git](https://github.com/Nico-Curti), [unibo](https://www.unibo.it/sitoweb/nico.curti2)
|
67 | 98 |
|
| 99 | +See also the list of [contributors](https://github.com/Nico-Curti/walkers/contributors) who participated in this project. |
| 100 | + |
| 101 | + |
68 | 102 | ## License
|
69 | 103 |
|
70 |
| -This project is released under GPL license. [](https://github.com/Nico-Curti/blend_net/blob/master/LICENSE) |
| 104 | +The `BlendNet` package is licensed under the GPL License. [](https://github.com/Nico-Curti/BlendNet/blob/master/LICENSE.md) |
| 105 | + |
| 106 | +## Contribution |
| 107 | + |
| 108 | +Any contribution is more than welcome :heart:. Just fill an issue or a pull request and I will check ASAP! |
| 109 | + |
| 110 | +## Acknowledgments |
| 111 | + |
| 112 | +Thanks goes to all contributors of this project: |
| 113 | + |
| 114 | +| [<img src="https://avatars0.githubusercontent.com/u/9303827?s=400&v=4" width="100px;"/><br /><sub><b>Alessandro Fabbri</b></sub>](https://github.com/allefabbri) | [<img src="https://avatars2.githubusercontent.com/u/721187?s=400&v=4" width="100px;"/><br /><sub><b>Stefano Sinigardi</b></sub>](https://github.com/cenit) |
| 115 | +|:---:|:---:| |
| 116 | + |
| 117 | +and to Raffaele Pepe who help me with Blender instructions. |
| 118 | + |
| 119 | +### Citation |
| 120 | + |
| 121 | +If you have found `BlendNet` helpful in your research, please consider citing the |
| 122 | + |
| 123 | +```tex |
| 124 | +@misc{BlendNet, |
| 125 | + author = {Nico Curti}, |
| 126 | + title = {{B}lend{N}et}, |
| 127 | + year = {2019}, |
| 128 | + publisher = {GitHub}, |
| 129 | + howpublished = {\url{https://github.com/Nico-Curti/BlendNet}}, |
| 130 | +} |
| 131 | +``` |
| 132 | + |
0 commit comments