d = density G
A dense graph has a high edge to vertex ratio, whereas a sparse graph has a low edge to vertex ratio. Density is equal to 2*E divided by V*(V1). A complete graph has density 1; the minimal density of any graph is 0.


The object density is a method function.