flowbased / fbp-diff

Diffing tool for FBP graphs
8 stars 0 forks source link

Interactive diffing? #3

Open jonnor opened 8 years ago

jonnor commented 8 years ago

Visual diffing (#2) will likely have some challenges in showing the details of a change. Complimenting it with text-based diffing is one possibility, but is not a very integrated experience.

Since the graphs are often created using an interactive editor, would be nice to be able to also do diffing there and make use all the regular tools for navigating/showing/hiding information. Ideally the tool would be capable enough that it can also be used to pick changes from a diff, for instance to resolve a merge conflict.

jonnor commented 8 years ago

Since we already have web-enabled interactive tools (like https://app.flowhub.io) it could possibly be easier to embed those for side-by-side visual diffing than to. For instance, one could use Flowtrace support by generating a trace which just has the graphs (no events), and then specify this via a app.flowhub.io....trace=someurl. But maybe at that point, the entire diff concept should be supported there, and just be able to specify a URL with source/destination graphs...

However, it is likely that Github PRs does not allow iframes inline, so would have to be a link/image one clicks on to open. Which is a bit tediuos.