rnewson commented on PR #6062:
URL: https://github.com/apache/couchdb/pull/6062#issuecomment-4934923125

   hm the '1' there isn't readable, it's halfway under the adjacent image.
   
   We seem to have lost the original source files for these diagrams so perhaps 
it's time for an overhaul.
   
   At @kxepal's suggestion I looked at [mermaid](https://mermaid.js.org/) and 
think we should switch all these diagrams over to that. The editable source can 
be checked in to the src/docs subdir and a makefile can then convert them to 
PNG and/or SVG at build time.
   
   As an example, I did the first diagram;
   
   ```mermaid
   sequenceDiagram
       Songbird->>CouchDB: Initial backup
       CouchDB-->>Songbird: Reply with rev 1
       CouchDB->>Laptop: Restore from backup on new laptop
       Laptop->>Laptop: User edits playlist
       Laptop->>CouchDB: Send update with rev 1
       CouchDB-->>Laptop: Reply with rev 2
       Songbird->>CouchDB: Send update with rev 1
       CouchDB-->>Songbird: 409 Conflict
   ```
   
   Is this something you'd be interested in working on?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to