http://senseis.xmp.net/tools/sgf2diagram.php
You can create diagrams for use within Sensei's Library by using this tool. It is also linked from the edit page (below the text area).
Note: beta stadium - be gentle :o)
Sebastian: Be resilient to entering a too high move number.
Arno: fixed.
Sebastian: AB and AW are important. But variations? How would you support them anyway - the diagrams don't, or do they?
Arno: AB,AW,AE now supported.
Sebastian: Thank you very much for implementing it so quickly. It works well, and I like the way it increments the number automatically. I would say that it is beyond its beta stadium.
I must admit I haven't tested it until just now. Mostly, because I didn't have a game situation that I wanted to discuss, but also because it of the following (sorry that I come up with more wishes):
MK Great! We have just implemented Arno's script for drawing diagrams on InternetGoAcademy webpage, so this function will greatly facilitate managing diagrams there too. Would it be possible to have result in editable window, so that one could put letters or marks in the diagram? Also, is ko supported?
iff Would it be possible to get the source of this script? (I sometimes would like to prepare pages offline)
Arno: http://senseis.xmp.net/tools/sgf2diagram.php.txt -- use at your own risk.
How about automatically generating SGF from diagrams (when possible) and making each diagram a hyperlink to the corresponding SGF? Then I could simply click on one of those problem diagrams and up pops my SGF editor and I can explore the variations.
Dave: SL already does that. Try clicking on any diagram. You will get an *.sgf file with a random name.
jfc: awesome!
aLegendWai: Is it possible to upload a sgf file to the website? SGF file is very small (can be less than 1KB), but it contains more functions and things that a diagram cannot disaply (eg variation, comments on each node, clearer illustrations). It would be much grateful if it is possible in future.
Robert Pauli: Look at this example tree:
0 / | \ / | \ 1 1a 1b / /\ \ / / \ \ 2 1a1 1a1a 1b1 / / \ \ / / \ \ 3 1a2 1a1a1 1b2
Currently only positions in the left (main) branch can be chosen by filling start with a number:
but we can generalize this by inserting letters:
Note that adding up the number parts still gives the move's number.
To make sense, this would have to be coupled with a show variations option that adds the alternatives of the last numbered move as letters a, b, . . . to the position.
Since SGF isn't that complicated -- the example tree, for instance, would be
((1 2 3) (1a (1a1 1a2) (1a1a 1a1a1)) (1b 1b1 1b2))
-- this might be feasible.