almende / chap-links-library

a web based visualization library for displaying graphs, networks, and timelines
http://almende.github.com/chap-links-library
Apache License 2.0
599 stars 167 forks source link

Move maxItems from getCluster to options object #306

Closed igui closed 10 years ago

igui commented 10 years ago

Currently the cluster functionality shows 5 events outside a cluster, with this PR you would be able to configure it changing the options.clusterMaxItems value. Is useful to configure it you want a small timeline very clustered. Since there is only a call to getClusters() inside the timeline this should be a trivial change. I added some documentation for this feature too :)

josdejong commented 10 years ago

Thanks!