I'm looking to find the density of a directed cyclic graph.
According to Wikipedia,
For undirected simple graphs, the graph density is defined as:
2 * |E| / (|V| * (|V| − 1))
For directed simple graphs, the graph density is defined as:
|E| / (|V| * (|V| − 1))
But I then go on to read the definition of simple graphs:
"A simple graph, as opposed to a multigraph, is an undirected graph in which both multiple edges and loops are disallowed."
I'm confused because the other article mentioned "directed" and "undirected" simple graphs. Now simple graphs can only be undirected? It also states that simple graphs cannot have loops, so I wasn't sure if I would be able to use either of these formulas on my cyclic graph.
I go on to read about multigraphs, but there is no mention of calculating their density.
Is density not something one would be concerned about for graphs with cycles?
On the first article it states:
"the maximal density is 1 (for complete graphs)"
And it looks like complete graphs are a specialized version of multigraphs, so I assume calculating density should make sense.
What formula do I use?