Description Usage Arguments Value
Given two directed edges a->b and c->d, return a->d and c->b.
1 | swap_targets(edges)
|
edges |
A 2x2 matrix. Each column is an edge defined by a source (row 1) and target (row 2) vertex. |
A matrix with the same dimensions as edges
, but with
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.