Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
numist committed Mar 20, 2023
1 parent d603d59 commit 7cf56e7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions _posts/2023-03-18-diffing/2023-03-18-diffing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@ layout: page
excerpt: diff diff diff
---

## TODO:

* How heinous will it be to get the edges in the SVG to have useful ids?
* [It's easy!](https://graphviz.org/docs/outputs/#ID)
* Write diffing programs that output collections of the above edge ids
* Breadth-first ABCAB v CBABA
* Greedy Best First Search ABCAB v CBABA
* Myers ABCAB v CBABA
* Myers meet-in-the-middle ABCAB v CBABA
* Write animation code driven by the above collections of edge ids
* resist the temptation to let readers customize their diffs by switching to a JS graphviz and bespoke diffing toolchain

* Future:
* Membership testing
* Membership PARTS v MIRTH
* Membership-after PARTS v STRAP
* Inexact diffing
* limited-breadth Myers
* arrow

## Animation Prototype

<div id="foo">
<p>Element 1</p>
<p>Element 2</p>
Expand Down Expand Up @@ -34,6 +56,8 @@ excerpt: diff diff diff
});
</script>

## Canonical Diff

{% graphviz %}
digraph {
layout="neato"
Expand Down Expand Up @@ -715,6 +739,8 @@ digraph {
{% endgraphviz %}
-->

## Source

Graphs generated by:

``` ruby
Expand Down

0 comments on commit 7cf56e7

Please sign in to comment.