Skip to content

Commit

Permalink
✨ Better README with illustrations
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPop committed Jun 23, 2023
1 parent 38049d0 commit b8595d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Onion Network
<h1 align="center">🧅 Onion Network </h1>

<img src="imgs/illustration.png" alt="banner" width="100%">


Onion-structured networks are special kinds of scale-free networks with a special topologies. They can be decomposed into layers of similar degree nodes.

Expand All @@ -21,9 +24,11 @@ from onion_network import onion_graph, plot_onion

G = onion_graph(n=100, gamma=2.5, alpha=3., max_trial=1000)

plot_onion(G)
plot_onion(G, cmap="tab20b")
```

<img src="imgs/example.png" alt="banner" width="50%" style="display:block;margin-left: auto;margin-right: auto;">

## References

### Papers
Expand Down
Binary file added imgs/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/illustration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b8595d6

Please sign in to comment.