Re: [webpayments] No proprietary binary files, please (#7)

Hey @mattsaxon, I've just committed some code that will render sequence diagrams in pure Javascript and SVG.

Example of what the sequence diagram markup is here:

https://github.com/web-payments/web-payments-http-api/blob/d1d88da743f39da31d2c54a9bcc81447ebe560c5/index.html#L244-L255

The graphics generated by the markup above can be viewed here:

http://web-payments.github.io/web-payments-http-api/#issue-1

The downsides of this approach:

1. It can only be used for flow diagrams, not for complex UML class diagrams. I suggest that we try to not do the latter and assert that this basic functionality should be good enough for us.

The benefits of this approach are:

1. We don't have to check binary images into the repository for flow diagrams anymore.
1. We don't have to use .docx files anymore.
1. We could share the diagrams across different specs via ReSpec's data-include feature (I think).

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/7#issuecomment-157288618

Received on Tuesday, 17 November 2015 06:50:55 UTC