Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor cleanup

[git-p4: depot-paths = "//src/graph/dev/": change = 6680]
  • Loading branch information...
commit 6d73b02223ac2eba90d7c24af34a6e04f0ca18e3 1 parent 6d9bc5d
@zenspider zenspider authored
Showing with 0 additions and 104 deletions.
  1. +0 −28 gallery/cluster.rb
  2. +0 −21 gallery/fsm.rb
  3. +0 −55 gallery/unix.rb
View
28 gallery/cluster.rb
@@ -1,33 +1,5 @@
#!/usr/bin/ruby -w
-# digraph G {
-#
-# subgraph cluster_0 {
-# style=filled;
-# color=lightgrey;
-# node [style=filled,color=white];
-# a0 -> a1 -> a2 -> a3;
-# label = "process #1";
-# }
-#
-# subgraph cluster_1 {
-# node [style=filled];
-# b0 -> b1 -> b2 -> b3;
-# label = "process #2";
-# color=blue
-# }
-# start -> a0;
-# start -> b0;
-# a1 -> b3;
-# b2 -> a3;
-# a3 -> a0;
-# a3 -> end;
-# b3 -> end;
-#
-# start [shape=Mdiamond];
-# end [shape=Msquare];
-# }
-
require "graph"
digraph do
View
21 gallery/fsm.rb
@@ -1,26 +1,5 @@
#!/usr/bin/ruby
-# digraph finite_state_machine {
-# rankdir=LR;
-# size="8,5"
-# node [shape = doublecircle]; LR_0 LR_3 LR_4 LR_8;
-# node [shape = circle];
-# LR_0 -> LR_2 [ label = "SS(B)" ];
-# LR_0 -> LR_1 [ label = "SS(S)" ];
-# LR_1 -> LR_3 [ label = "S($end)" ];
-# LR_2 -> LR_6 [ label = "SS(b)" ];
-# LR_2 -> LR_5 [ label = "SS(a)" ];
-# LR_2 -> LR_4 [ label = "S(A)" ];
-# LR_5 -> LR_7 [ label = "S(b)" ];
-# LR_5 -> LR_5 [ label = "S(a)" ];
-# LR_6 -> LR_6 [ label = "S(b)" ];
-# LR_6 -> LR_5 [ label = "S(a)" ];
-# LR_7 -> LR_8 [ label = "S(b)" ];
-# LR_7 -> LR_5 [ label = "S(a)" ];
-# LR_8 -> LR_6 [ label = "S(b)" ];
-# LR_8 -> LR_5 [ label = "S(a)" ];
-# }
-
require "graph"
digraph do
View
55 gallery/unix.rb
@@ -1,60 +1,5 @@
#!/usr/bin/ruby -w
-# /* courtesy Ian Darwin and Geoff Collyer, Softquad Inc. */
-# digraph unix {
-# size="6,6";
-# node [color=lightblue2, style=filled];
-# "5th Edition" -> "6th Edition";
-# "5th Edition" -> "PWB 1.0";
-# "6th Edition" -> "LSX";
-# "6th Edition" -> "1 BSD";
-# "6th Edition" -> "Mini Unix";
-# "6th Edition" -> "Wollongong";
-# "6th Edition" -> "Interdata";
-# "Interdata" -> "Unix/TS 3.0";
-# "Interdata" -> "PWB 2.0";
-# "Interdata" -> "7th Edition";
-# "7th Edition" -> "8th Edition";
-# "7th Edition" -> "32V";
-# "7th Edition" -> "V7M";
-# "7th Edition" -> "Ultrix-11";
-# "7th Edition" -> "Xenix";
-# "7th Edition" -> "UniPlus+";
-# "V7M" -> "Ultrix-11";
-# "8th Edition" -> "9th Edition";
-# "1 BSD" -> "2 BSD";
-# "2 BSD" -> "2.8 BSD";
-# "2.8 BSD" -> "Ultrix-11";
-# "2.8 BSD" -> "2.9 BSD";
-# "32V" -> "3 BSD";
-# "3 BSD" -> "4 BSD";
-# "4 BSD" -> "4.1 BSD";
-# "4.1 BSD" -> "4.2 BSD";
-# "4.1 BSD" -> "2.8 BSD";
-# "4.1 BSD" -> "8th Edition";
-# "4.2 BSD" -> "4.3 BSD";
-# "4.2 BSD" -> "Ultrix-32";
-# "PWB 1.0" -> "PWB 1.2";
-# "PWB 1.0" -> "USG 1.0";
-# "PWB 1.2" -> "PWB 2.0";
-# "USG 1.0" -> "CB Unix 1";
-# "USG 1.0" -> "USG 2.0";
-# "CB Unix 1" -> "CB Unix 2";
-# "CB Unix 2" -> "CB Unix 3";
-# "CB Unix 3" -> "Unix/TS++";
-# "CB Unix 3" -> "PDP-11 Sys V";
-# "USG 2.0" -> "USG 3.0";
-# "USG 3.0" -> "Unix/TS 3.0";
-# "PWB 2.0" -> "Unix/TS 3.0";
-# "Unix/TS 1.0" -> "Unix/TS 3.0";
-# "Unix/TS 3.0" -> "TS 4.0";
-# "Unix/TS++" -> "TS 4.0";
-# "CB Unix 3" -> "TS 4.0";
-# "TS 4.0" -> "System V.0";
-# "System V.0" -> "System V.2";
-# "System V.2" -> "System V.3";
-# }
-
require "graph"
digraph "unix" do
Please sign in to comment.
Something went wrong with that request. Please try again.