Skip to content

Commit 44199ae

Browse files
author
James Bardin
committed
update destroying doc to show show more CBD detail
Update the create-before-destroy cases in the destroying.md document.
1 parent 0ebc713 commit 44199ae

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎docs/destroying.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,16 @@ digraph replacement {
209209
}
210210
211211
a -> a_d [dir=back];
212+
a -> b_d;
212213
b -> a_d [dir=back];
213214
b -> b_d;
214215
}
215216
-->
216217

217218

218219
Order of operations:
219-
1. `B` is destroyed AND `A` is created
220+
1. `B` is destroyed
221+
2. `A` is created
220222
1. `B` is created
221223
1. `A` is destroyed
222224

@@ -314,6 +316,7 @@ digraph replacement {
314316
}
315317
316318
a -> a_d;
319+
a -> b_d [style=dotted];
317320
b -> a_d [style=dotted];
318321
b -> b_d [dir=back];
319322
}
@@ -340,6 +343,7 @@ digraph replacement {
340343
}
341344
342345
a -> a_d [dir=back];
346+
a -> b_d [dir=back, style=dotted];
343347
b -> a_d [dir=back, style=dotted];
344348
b -> b_d [dir=back];
345349
}

‎docs/images/replace_all_cbd.png‎

729 Bytes
Loading
1.35 KB
Loading
781 Bytes
Loading

0 commit comments

Comments
 (0)