Skip to content

Instantly share code, notes, and snippets.

@osamu
Created March 14, 2016 03:43
Show Gist options
  • Save osamu/3ba7d63497da03d536d0 to your computer and use it in GitHub Desktop.
Save osamu/3ba7d63497da03d536d0 to your computer and use it in GitHub Desktop.
digraph G {
a [shape = box];
b [shape = box];
rem [shape = invtrapezium];
t [shape = box];
ab [shape=circle, fixedsize=true, width=0.3, label="x", xlabel="a<-b"];
result [shape=circle, fixedsize=true, width=0.3,label="="];
0 [shape=triangle];
rt [ shape=circle, fixedsize=true, width=0.3, label="x", xlabel="r<-t"];
bt [ shape=circle, fixedsize=true, width=0.3, label="x", xlabel="b<-t"];
# 配線
b -> ab;
ab -> a;
b -> rem;
a -> rem;
rem -> rt;
rt -> t;
0 -> result;
b -> result;
t -> bt;
bt -> b;
{rank=same; rem; 0 };
{rank=same; a; b; ab; result};
{rank=same; rem; bt};
}
@osamu
Copy link
Author

osamu commented Mar 14, 2016

file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment