Calculate the triad census for an undirected graph by taking the appropriate sums from the triad census for a directed graph with the same edges (up to direction).
The input graph. It can be directed or undirected but the function will return the census for its undirected version.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.