A python script to visualise explain plans as a graph using graphviz
Needs to be improved
Prerequisites
Need to have graphiz installed on the machine. Refer to
Hints to generate JSON file
Use JSON.stringify(). Example
JSON.stringify(db.people.find({name:{$gt: "A"}}).sort({name:1}).explain("executionStats"))
To run