This function outputs a subgraph of a graph by either removing nodes or edges.
| 1 2 | 
| graph | A graph that is stored in an adjacency matrix. | 
| nodes | A set of nodes to be removed. Default is the empty set. | 
| from | A set of nodes that correspond to one side of the end nodes of the edges that will be removed. Default is the empty set. | 
| to | A set of nodes that correspond to the other side of the end nodes of the edges that will be removed. Default is the empty set. | 
| type | An argument to specify removing either nodes or edges from the original graph. Only three strings are taken. That is, "nodes", "edges" or "cliques". | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.