Skip to content

Instantly share code, notes, and snippets.

@drj11
Last active December 26, 2015 20:09
Show Gist options
  • Save drj11/7206051 to your computer and use it in GitHub Desktop.
Save drj11/7206051 to your computer and use it in GitHub Desktop.
strict digraph {
l1 [label="[1, 2]" shape=box];
l2 [label="[2]" shape=box];
p -> l1;
op -> l1;
q -> l2;
label = "after p += q";
ordering = out;
}
strict digraph {
p;
l1 [label="[1]" shape=box];
l2 [label="[2]" shape=box];
p -> l1;
op -> l1;
q -> l2;
label = "before"
ordering = out;
}
strict digraph {
ls [label="[1, 2]" shape=box];
l1 [label="[1]" shape=box];
l2 [label="[2]" shape=box];
p -> ls;
op -> l1;
q -> l2;
label = "after p = p + q";
ordering = out;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment