No commit activity in last 3 years
No release in over 3 years
Visualizations for Wisper events
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Runtime

 Project Readme

Wisper::Visualize

Provides a graph of published Wisper events as a PNG or PDF

example output

Installation

gem 'wisper-visualize'

Usage

report = Wisper::Visualize.report

# broadcast some events...

report.to_pdf('/tmp/events-graph.pdf')
report.to_png('/tmp/events-graph.png')

You can also get a collection of all events published:

report.events # => [...]

Each event has the following attributes:

event.name
event.publisher_name
event.subscriber_name
event.arg_names
event.created_at
event.frequency

Rspec

around(:each) do |example|
  report = Wisper::Visualize.report
  example.call
  report.to_pdf("/tmp/events-graph-#{example.metadata[:full_description]}.pdf")
end

Contributing

Yes, please.