Permalink
Browse files

Specify the font in the .dot files

  • Loading branch information...
1 parent 52d33f8 commit 3397302e8b249542c1d254ce486692e9e19f58c8 @creationix committed Mar 5, 2011
View
3 articles/object-graphs-2/classical.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8.3,8"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -42,4 +43,4 @@ digraph finite_state_machine {
ob_sqr:__proto__ -> ob_SquareProto:__proto__;
ob_SquareProto:__proto__ -> ob_RectProto:__proto__;
-}
+}
View
3 articles/object-graphs-2/factory.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8.3,8"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -41,4 +42,4 @@ digraph finite_state_machine {
/* Inheritance Chains */
edge [style=dashed]
closure -> top:__proto__;
-}
+}
View
3 articles/object-graphs-2/prototypal.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8.3,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
@@ -40,4 +41,4 @@ digraph finite_state_machine {
ob_Square:__proto__ -> ob_Rectangle:__proto__;
-}
+}
View
3 articles/object-graphs-3/animal.js.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8.2,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -44,4 +45,4 @@ digraph finite_state_machine {
-}
+}
View
3 articles/object-graphs-3/animal.js.simple.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,2.8"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -26,4 +27,4 @@ digraph finite_state_machine {
-}
+}
View
3 articles/object-graphs-3/animal.rb.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Variables */
@@ -34,4 +35,4 @@ digraph finite_state_machine {
Class:__self__ -> Module:__self__;
Module:__self__ -> Object:__self__;
-}
+}
View
3 articles/object-graphs-3/animal.rb.simple.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,3"
rankdir = "LR"
+ node [fontname=Sans]
/* Variables */
@@ -23,4 +24,4 @@ digraph finite_state_machine {
/* Inheritance Chains */
edge [style=dashed]
String:__self__ -> Object:__self__;
-}
+}
View
3 articles/object-graphs-3/dave.js.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Normal Objects */
node [shape = Mrecord, fillcolor=lightskyblue, style=filled];
@@ -33,4 +34,4 @@ digraph finite_state_machine {
-}
+}
View
3 articles/object-graphs-3/dave.rb.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,2.4"
rankdir = "LR"
+ node [fontname=Sans]
/* Classes */
@@ -21,4 +22,4 @@ digraph finite_state_machine {
Class:__self__ -> Module:__self__;
Module:__self__ -> Object:__self__;
-}
+}
View
3 articles/object-graphs-3/dave2.js.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Normal Objects */
node [shape = Mrecord, fillcolor=lightskyblue, style=filled];
@@ -39,4 +40,4 @@ digraph finite_state_machine {
-}
+}
View
3 articles/object-graphs-3/dave2.rb.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Classes */
node [shape = Mrecord, fillcolor=yellow, style=filled];
@@ -22,4 +23,4 @@ digraph finite_state_machine {
Class:__self__ -> Module:__self__;
Module:__self__ -> Object:__self__;
-}
+}
View
3 articles/object-graphs-3/singleton.js.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,2.6"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -23,4 +24,4 @@ digraph finite_state_machine {
-}
+}
View
4 articles/object-graphs-3/singleton.rb.dot
@@ -1,7 +1,7 @@
digraph finite_state_machine {
size="8,3"
rankdir = "LR"
-
+ node [fontname=Sans]
/* Variables */
node [shape=none,fillcolor=white];
@@ -25,4 +25,4 @@ digraph finite_state_machine {
edge [style=dashed]
catSingleton:__self__ -> String:__self__;
String:__self__ -> Object:__self__;
-}
+}
View
9 articles/object-graphs/closure.dot
@@ -1,25 +1,26 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
- node [shape=Mrecord, fillcolor=beige, style=filled, fontname=Helvetica];
+ node [shape=Mrecord, fillcolor=beige, style=filled];
top [label="<__proto__>[ Scope ]|<description1>description1|<description2>description2|<makeClosure>makeClosure"];
closure1 [label="<__proto__>[ Scope ]|<name>name"];
closure2 [label="<__proto__>[ Scope ]|<name>name"];
/* Normal Objects */
- node [shape = Mrecord, fillcolor=lightskyblue, style=filled, fontname=Helvetica];
+ node [shape = Mrecord, fillcolor=lightskyblue, style=filled];
/* Function Objects */
- node [shape = Mrecord, fillcolor=orange, style=filled, fontname=Helvetica];
+ node [shape = Mrecord, fillcolor=orange, style=filled];
fn_makeClosure [label="<__proto__>[ makeClosure(name) ]|\{ return function () \{\} \}"];
fn1 [label="<__proto__>[ λ() ]|\{return name\}|<__scope__>[scope]"];
fn2 [label="<__proto__>[ λ() ]|\{return name\}|<__scope__>[scope]"];
/* Literals */
- node [shape = plaintext, fillcolor=gray92, style="filled,rounded", fontname=Helvetica];
+ node [shape = plaintext, fillcolor=gray92, style="filled,rounded"];
cloe [label="\"Cloe the Closure\""]
albert [label="\"Albert the Awesome\""]
View
3 articles/object-graphs/functions.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -32,4 +33,4 @@ digraph finite_state_machine {
ob_1:name -> name3;
top:description -> fn1:__proto__;
-}
+}
View
3 articles/object-graphs/globals.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -23,4 +24,4 @@ digraph finite_state_machine {
edge [style=dashed]
top:__proto__ -> global:__proto__;
-}
+}
View
3 articles/object-graphs/objects.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -34,4 +35,4 @@ digraph finite_state_machine {
edge [style=dashed]
obj2:__proto__ -> obj1:__proto__;
-}
+}
View
3 articles/object-graphs/shared-function.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Functions */
node [shape = Mrecord, fillcolor=orange, style=filled];
@@ -29,4 +30,4 @@ digraph finite_state_machine {
global:descr -> fn1:__proto__;
global:description -> fn2:__proto__;
fn2:name -> name4;
-}
+}
View
3 articles/object-graphs/variables.dot
@@ -1,6 +1,7 @@
digraph finite_state_machine {
size="8,5"
rankdir = "LR"
+ node [fontname=Sans]
/* Execution Contexts */
node [shape=Mrecord, fillcolor=beige, style=filled];
@@ -18,4 +19,4 @@ digraph finite_state_machine {
top:isProgrammer -> true;
top:likesJavaScript -> true;
-}
+}
View
7 articles/step-of-conductor/example1.dot
@@ -1,10 +1,11 @@
digraph G {
size="5,5";
+ node [fontname=Monaco]
subgraph cluster_0 {
style=filled;
color=darkorange;
- node [style=filled,color=white,fontcolor=gray6,fontname=Monaco];
+ node [style=filled,color=white,fontcolor=gray6];
M[label="loadMarkdown"];
P[label="parseMarkdown"];
@@ -18,6 +19,6 @@ digraph G {
P -> F[label=props];
A -> F[label=author];
F -> output[label=props];
- input [shape=Mdiamond,color=dodgerblue4,fontname=Monaco];
- output [shape=Msquare,color=crimson,fontname=Monaco];
+ input [shape=Mdiamond,color=dodgerblue4];
+ output [shape=Msquare,color=crimson];
}
View
3 articles/volcano-wheat/graph.dot
@@ -1,5 +1,6 @@
digraph finite_state_machine {
size="8,5"
+ node [fontname=Sans]
node [shape = doublecircle];
LR_1[color=red]
LR_7[color=blue]
@@ -18,4 +19,4 @@ digraph finite_state_machine {
LR_6 -> LR_3 [ label = "Try Again?" ];
LR_6 -> LR_2 [ label = "Accept Fate" ];
LR_6 -> LR_7 [ label = "Redesign HowToNode" ];
-}
+}

0 comments on commit 3397302

Please sign in to comment.