class_docstr: A Multigraph; a Graph containing more than one edge between vertex pairs.
class_docstr_tok: ["A","Multigraph",";","a","Graph","containing","more","than","one","edge","between","vertex","pairs","."]
docstr: Density is the measure of how many edges are in the graph versus
  the max number of edges that could be present.
  This function is not support on a Multigraph.
  Since the maximal number of possible edges between any vertex pairs
  can be greater than 1 (undirected) a realistic max number of possible
  edges cannot be determined. Running density on a MultiGraph
  could produce a density score greater than 1 - meaning more than
  100% of possible edges are present in the Graph
docstr_tok: ["Density","is","the","measure","of","how","many","edges","are","in","the","graph","versus","the","max","number","of","edges","that","could","be","present",".","This","function","is","not","support","on","a","Multigraph",".","Since","the","maximal","number","of","possible","edges","between","any","vertex","pairs","can","be","greater","than","1","(","undirected",")","a","realistic","max","number","of","possible","edges","can","not","be","determined",".","Running","density","on","a","MultiGraph","could","produce","a","density","score","greater","than","1","-","meaning","more","than","100","%","of","possible","edges","are","present","in","the","Graph"]
code: def density(self):
      """
      Density is the measure of how many edges are in the graph versus
      the max number of edges that could be present.
      This function is not support on a Multigraph.
      Since the maximal number of possible edges between any vertex pairs
      can be greater than 1 (undirected) a realistic max number of possible
      edges cannot be determined. Running density on a MultiGraph
      could produce a density score greater than 1 - meaning more than
      100% of possible edges are present in the Graph
      """
      raise TypeError(
          "The density function is not support on a Multigraph."
      )
  
imports: import numpy
  from .graph_implementation import simpleGraphImpl, simpleDistributedGraphImpl, npartiteGraphImpl
  import cudf
  import dask_cudf
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 3 for calling the MultiGraph obj's underlying member method code with example usage: obj.density() without return types