Skip to content

Commit 9abc27f

Browse files
committed
Resolved dot ver issue
1 parent 516b96e commit 9abc27f

File tree

8 files changed

+72
-52
lines changed

8 files changed

+72
-52
lines changed

others/preface/img/q1.dot

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
n[label="<head> 1|<tail>"];
5-
x1[label="1*2=2", shape=none];
6-
x2[label="1*3=3", shape=none];
7-
x3[label="1*5=5", shape=none];
3+
node[shape=plaintext]
4+
n[shape=plaintext,
5+
label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
6+
<tr><td port="head">1</td><td port="tail"> </td></tr></table>>]
7+
x1[label="1*2=2", style=filled, color=white];
8+
x2[label="1*3=3", style=filled, color=white];
9+
x3[label="1*5=5", style=filled, color=white];
810
n:head->x1;
911
x1->x2->x3[style=invis];
1012
x3->n:tail;

others/preface/img/q2.dot

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
n[label="<head> 2|3|<tail> 5"];
5-
x1[shape=none, label="2*2=4"];
6-
x2[shape=none, label="2*3=6"];
7-
x3[shape=none, label="2*5=10"];
3+
node[shape=plaintext]
4+
n[shape=plaintext,
5+
label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
6+
<tr><td port="head">2</td><td>3</td><td port="tail">5</td></tr></table>>]
7+
x1[label="2*2=4", style=filled, color=white];
8+
x2[label="2*3=6", style=filled, color=white];
9+
x3[label="2*5=10", style=filled, color=white];
810
n:head->x1;
911
x1->x2->x3[style=invis];
1012
x3->n:tail;

others/preface/img/q235-1.dot

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
q2[label="<head> 2 | <tail>"];
5-
q3[label="<head> 3 | <tail>"];
6-
q5[label="<head> 5 | <tail>"];
7-
x[label="min=2", shape=none];
8-
x2[label="2*min=4", shape=none];
9-
x3[label="3*min=6", shape=none];
10-
x5[label="5*min=10", shape=none];
3+
node[shape=plaintext]
4+
q2[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
5+
<tr><td port="head">2</td><td port="tail"> </td></tr></table>>]
6+
q3[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
7+
<tr><td port="head">3</td><td port="tail"> </td></tr></table>>]
8+
q5[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
9+
<tr><td port="head">5</td><td port="tail"> </td></tr></table>>]
10+
x[label="min=2", style=filled, color=white];
11+
x2[label="2*min=4", style=filled, color=white];
12+
x3[label="3*min=6", style=filled, color=white];
13+
x5[label="5*min=10", style=filled, color=white];
1114
q2:head->x;
1215
q3:head->x;
1316
q5:head->x;

others/preface/img/q235-2.dot

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
q2[label="<head> 4 | <tail>"];
5-
q3[label="<head> 3 |6| <tail>"];
6-
q5[label="<head> 5 |10| <tail>"];
7-
x[label="min=3", shape=none];
8-
x2[label="2*min=6", shape=none];
9-
x3[label="3*min=9", shape=none];
10-
x5[label="5*min=15", shape=none];
3+
node[shape=plaintext]
4+
q2[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
5+
<tr><td port="head">4</td><td port="tail"> </td></tr></table>>]
6+
q3[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
7+
<tr><td port="head">3</td><td>6</td><td port="tail"> </td></tr></table>>]
8+
q5[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
9+
<tr><td port="head">5</td><td>10</td><td port="tail"> </td></tr></table>>]
10+
x[label="min=3", style=filled, color=white];
11+
x2[label="2*min=6", style=invis, color=white];
12+
x3[label="3*min=9", style=filled, color=white];
13+
x5[label="5*min=15", style=filled, color=white];
1114
q2:head->x;
1215
q3:head->x;
1316
q5:head->x;

others/preface/img/q235-3.dot

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
q2[label="<head> 4 | <tail>"];
5-
q3[label="<head> 6|9| <tail>"];
6-
q5[label="<head> 5 |10|15| <tail>"];
7-
x[label="min=4", shape=none];
8-
x2[label="2*min=8", shape=none];
9-
x3[label="3*min=12", shape=none];
10-
x5[label="5*min=20", shape=none];
3+
node[shape=plaintext]
4+
q2[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
5+
<tr><td port="head">4</td><td port="tail"> </td></tr></table>>]
6+
q3[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
7+
<tr><td port="head">6</td><td>9</td><td port="tail"> </td></tr></table>>]
8+
q5[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
9+
<tr><td port="head">5</td><td>10</td><td>15</td><td port="tail"> </td></tr></table>>]
10+
x[label="min=4", style=filled, color=white];
11+
x2[label="2*min=8", style=filled, color=white];
12+
x3[label="3*min=12", style=filled, color=white];
13+
x5[label="5*min=20", style=filled, color=white];
1114
q2:head->x;
1215
q3:head->x;
1316
q5:head->x;

others/preface/img/q235-4.dot

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
q2[label="<head> 8 | <tail>"];
5-
q3[label="<head> 6|9|12| <tail>"];
6-
q5[label="<head> 5 |10|15|20| <tail>"];
7-
x[label="min=5", shape=none];
8-
x2[label="2*min=10", shape=none];
9-
x3[label="3*min=15", shape=none];
10-
x5[label="5*min=25", shape=none];
3+
node[shape=plaintext]
4+
q2[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
5+
<tr><td port="head">8</td><td port="tail"> </td></tr></table>>]
6+
q3[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
7+
<tr><td port="head">6</td><td>9</td><td>12</td><td port="tail"> </td></tr></table>>]
8+
q5[label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
9+
<tr><td port="head">5</td><td>10</td><td>15</td><td>20</td><td port="tail"> </td></tr></table>>]
10+
x[label="min=5", style=filled, color=white];
11+
x2[label="2*min=10", style=invis, color=white];
12+
x3[label="3*min=15", style=invis, color=white];
13+
x5[label="5*min=25", style=filled, color=white];
1114
q2:head->x;
1215
q3:head->x;
1316
q5:head->x;

others/preface/img/q3.dot

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
n[label="<head> 3|4|5|6|<tail> 10"];
5-
x1[label="3*2=6", shape=none];
6-
x2[label="3*3=9", shape=none];
7-
x3[label="3*5=15", shape=none];
3+
node[shape=plaintext]
4+
n[shape=plaintext,
5+
label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
6+
<tr><td port="head">3</td><td>4</td><td>5</td><td>6</td><td port="tail">10</td></tr></table>>]
7+
x1[label="3*2=6", style=filled, color=white];
8+
x2[label="3*3=9", style=filled, color=white];
9+
x3[label="3*5=15", style=filled, color=white];
810
n:head->x1;
911
x1->x2->x3[style=invis];
1012
x3->n:tail;

others/preface/img/q4.dot

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
digraph G{
22
margin="0"
3-
node[shape=record]
4-
n[label="<head> 4|5|6|9|10|<tail> 15"];
5-
x1[label="4*2=8", shape=none];
6-
x2[label="4*3=12", shape=none];
7-
x3[label="4*5=20", shape=none];
3+
node[shape=plaintext]
4+
n[shape=plaintext,
5+
label=<<table BORDER="0" CELLBORDER="1" CELLSPACING="0">
6+
<tr><td port="head">4</td><td>5</td><td>6</td><td>9</td><td>10</td><td port="tail">15</td></tr></table>>]
7+
x1[label="4*2=8", style=filled, color=white];
8+
x2[label="4*3=12", style=filled, color=white];
9+
x3[label="4*5=20", style=filled, color=white];
810
n:head->x1;
911
x1->x2->x3[style=invis];
1012
x3->n:tail;

0 commit comments

Comments
 (0)