Pass data about nodes/edges to graph classes via constructor.
Fix according to RubyMine inspections
Some formulae declare optional dependencies that may not be installed