-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:benmaier/netwulf
- Loading branch information
Showing
23 changed files
with
766 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Outlook | ||
|
||
This is a place to collect ideas on how to further improve the network visualization process. | ||
|
||
## Directed and curved edges | ||
|
||
This is a crucial functionality for a lot of network scientists. We plan to [incorporate this functionality soon](ulfaslak/network_styling_with_d3#3), in fact we already [started working on it](benmaier/curved-edges). | ||
|
||
## Tree styling | ||
|
||
d3 provides a great [API for tree styling](https://github.com/d3/d3-hierarchy/blob/master/README.md). We should build an addition tree styling function. | ||
|
||
## Hierarchically clustered networks | ||
|
||
Networks are often inferred to be hierarchically clustered. Different visualizations could be used to visually cluster these networks in a way that does not rely on a force-layout, e.g. with something like a [Pack](https://github.com/d3/d3-hierarchy/blob/master/README.md#pack), see [also here](https://observablehq.com/@d3/zoomable-circle-packing) or with [hierarchical edge bundling](https://observablehq.com/@d3/hierarchical-edge-bundling). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Data I/O | ||
-------- | ||
|
||
It's not too hard to dump the returned visualization session to a json-file | ||
to restore it easily, but we wrote a wrapper for that nevertheless. | ||
|
||
Start a visualization like this | ||
|
||
.. code:: python | ||
import networkx as nx | ||
import netwulf as wulf | ||
G = nx.barabasi_albert_graph(100,2) | ||
stylized_network, config = wulf.visualize(G) | ||
You can either save/load the stylized network only | ||
|
||
.. code:: python | ||
wulf.save("BA.json", stylized_network, config) | ||
stylized_network, config, _ = wulf.load("BA.json") | ||
wulf.draw_netwulf(stylized_network, config) | ||
Or you can save/load with the respective ``networkx.Graph``-object | ||
in order to replicate some other features. | ||
|
||
.. code:: python | ||
wulf.save("BA.json", stylized_network, config, G) | ||
stylized_network, config, G = wulf.load("BA.json") | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Data I/O module | ||
--------------- | ||
|
||
.. automodule:: netwulf.io | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
from .metadata import __version__ | ||
from .interactive import * | ||
from .tools import * | ||
from .io import * |
Oops, something went wrong.