Skip to content

Commit 5097e7f

Browse files
committed
Change algorithm to gephi modularity. Release 1.1.0
1 parent 7d10b94 commit 5097e7f

File tree

7 files changed

+1617
-744
lines changed

7 files changed

+1617
-744
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [ECharts](https://github.com/ecomfe/echarts) graph modularity extension based on [jLouvain](https://github.com/upphiminn/jLouvain)
1+
# [ECharts](https://github.com/ecomfe/echarts) graph modularity extension
22

33
<a href="http://echarts.baidu.com">
44
<img style="vertical-align: top;" src="https://github.com/ecomfe/echarts/raw/master/asset/logo.png?raw=true" alt="logo" height="50px">
@@ -40,6 +40,11 @@ setOption({
4040
// and assign each different color.
4141
modularity: true
4242

43+
// Specify resolution. Higher resolution will produce less communities
44+
modularity: {
45+
resolution: 5
46+
}
47+
4348
...
4449
}]
4550
})

0 commit comments

Comments
 (0)