Sabaki SGF editor
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Sabaki SGF editor
I should add, overall, I think you've done a very good job. I like the editor.
be immersed
-
ewan1971
- Dies in gote
- Posts: 53
- Joined: Wed Dec 07, 2016 11:08 pm
- GD Posts: 0
- Has thanked: 3 times
- Been thanked: 8 times
Re: Sabaki SGF editor
Wow, I just discovered Sabaki, and it's delightful. The wabi-sabi animation is brilliant!
There are two very minor issues/points I'd like to mention for the macOS Sierra (10.12.2) version:
1) When I replay an SGF record, there is no sound of the stones striking the board. Please enable it because I really enjoy Sabaki's sound effects.
2) A minor issue regarding the game tree visualization. For example, let's say move 23 has an alternate placement, call it 23A. Shouldn't the line be connecting 23 and 23A directly? As it stands right now, 23A is connected visually to 22, which I personally find odd.
Or am I alone in my borderline OCD opinion?
Thanks!
There are two very minor issues/points I'd like to mention for the macOS Sierra (10.12.2) version:
1) When I replay an SGF record, there is no sound of the stones striking the board. Please enable it because I really enjoy Sabaki's sound effects.
2) A minor issue regarding the game tree visualization. For example, let's say move 23 has an alternate placement, call it 23A. Shouldn't the line be connecting 23 and 23A directly? As it stands right now, 23A is connected visually to 22, which I personally find odd.
Or am I alone in my borderline OCD opinion?
Thanks!
- yishn
- Dies in gote
- Posts: 57
- Joined: Tue Jun 30, 2015 2:37 am
- Rank: 4 kyu
- GD Posts: 0
- Location: Germany
- Been thanked: 15 times
- Contact:
Re: Sabaki SGF editor
Yeah, I can reproduce this now. It's as you say, Sabaki uses \n for linebreaks. Notepad++ probably converts any linebreaks to your preference. I've fixed it, Sabaki now uses \r\n on Windows and \n everywhere else.Kirby wrote: Re: #2.) Whether I visually see linebreaks depends on where I paste it. If I paste the diagram code into the editor here, I also see the lines wrap visually as you do. But if I post into Windows notepad, the linebreaks don't show up. My assumption was that this was due to notepad in Windows using \r\n for linebreaks, instead of just \n. However, when I paste into another editor like notepad++ and show the linebreaks, it looks like both linebreak and carriage return are present...
So #2 isn't a big deal, I guess. It's just a bit different in behavior when I copy diagrams from Sabaki into Windows notepad vs. when I copy a diagram from L19 into notepad. In the former case, notepad doesn't show the breaks, whereas in the latter, the breaks can be seen.
It's probably notepad's fault, as other editors don't have this issue.![]()
Anyway, if you want to reproduce it, try to paste into Windows notepad.
-
dfan
- Gosei
- Posts: 1599
- Joined: Wed Apr 21, 2010 8:49 am
- Rank: AGA 2k Fox 3d
- GD Posts: 61
- KGS: dfan
- Has thanked: 891 times
- Been thanked: 534 times
- Contact:
Re: Sabaki SGF editor
Maybe I am misunderstanding the scenario, but the lines in the tree connect consecutive moves in a single "history". In the history expressed by the variation, the next move after White plays 22 is Black playing 23A.ewan1971 wrote:2) A minor issue regarding the game tree visualization. For example, let's say move 23 has an alternate placement, call it 23A. Shouldn't the line be connecting 23 and 23A directly? As it stands right now, 23A is connected visually to 22, which I personally find odd.
-
ewan1971
- Dies in gote
- Posts: 53
- Joined: Wed Dec 07, 2016 11:08 pm
- GD Posts: 0
- Has thanked: 3 times
- Been thanked: 8 times
Re: Sabaki SGF editor
That's one way of looking at it conceptually, but visually this could get messy because in an SGF file with many variations, the tree quickly gets out of control, with diagonal lines running all over the place, making it difficult to trace the branches. I was going through one of AlphaGo's commented games, and I found it tiring very quickly.dfan wrote:Maybe I am misunderstanding the scenario, but the lines in the tree connect consecutive moves in a single "history". In the history expressed by the variation, the next move after White plays 22 is Black playing 23A.ewan1971 wrote:2) A minor issue regarding the game tree visualization. For example, let's say move 23 has an alternate placement, call it 23A. Shouldn't the line be connecting 23 and 23A directly? As it stands right now, 23A is connected visually to 22, which I personally find odd.
Again, I'm only speaking for myself, but if plenty of others agree, then this visualization style should be added as an option.
An additional thought, I think it'd be better if the current/active variation is highlighted more prominently (with a different line color and/or thicker line width), and the inactive branches are more grayed out. This will also help reduce fatigue.
Last edited by ewan1971 on Sat Jan 21, 2017 11:50 am, edited 3 times in total.
-
ewan1971
- Dies in gote
- Posts: 53
- Joined: Wed Dec 07, 2016 11:08 pm
- GD Posts: 0
- Has thanked: 3 times
- Been thanked: 8 times
Re: Sabaki SGF editor
Oh, one more thing, fuzzy-stone-placement animation isn't available when replaying a game. I'd love for it to be made available in replay mode. Thanks.
P.S. I use macOS Sierra (10.12.2).
P.S. I use macOS Sierra (10.12.2).
- yishn
- Dies in gote
- Posts: 57
- Joined: Tue Jun 30, 2015 2:37 am
- Rank: 4 kyu
- GD Posts: 0
- Location: Germany
- Been thanked: 15 times
- Contact:
Re: Sabaki SGF editor
Hello Ewan, thank you for your kind words!
Actually, I find that quite unintuitive... Clearly, lines should connect the precedent move with the next move? Otherwise, if a game has only one variation, there wouldn't be any lines at all?ewan1971 wrote: 2) A minor issue regarding the game tree visualization. For example, let's say move 23 has an alternate placement, call it 23A. Shouldn't the line be connecting 23 and 23A directly? As it stands right now, 23A is connected visually to 22, which I personally find odd.
I'm not sure how horizontal lines would make it any easier?ewan1971 wrote: That's one way of looking at it conceptually, but visually this could get messy because in an SGF file with many variations, the tree quickly gets out of control, with diagonal lines running all over the place, making it difficult to trace the branches.
I have experimented with fuzzy stone placement animations when navigating. The problem is performance. Navigating the game by holding down the 'down/up arrow key' will be very laggy, so I decided against it.ewan1971 wrote: Oh, one more thing, fuzzy-stone-placement animation isn't available when replaying a game. I'd love for it to be made available in replay mode. Thanks.
Currently, the nodes of the current variation is in white, while other variations are in gray. I can try making the lines of the current variation thicker...ewan1971 wrote: An additional thought, I think it'd be better if the current/active variation is highlighted more prominently (with a different line color and/or thicker line width), and the inactive branches are more grayed out. This will also help reduce fatigue.
-
hyperpape
- Tengen
- Posts: 4382
- Joined: Thu May 06, 2010 3:24 pm
- Rank: AGA 3k
- GD Posts: 65
- OGS: Hyperpape 4k
- Location: Caldas da Rainha, Portugal
- Has thanked: 499 times
- Been thanked: 727 times
Re: Sabaki SGF editor
I tend to agree. For narrow paths, lines connecting the previous moves make sense.yishn wrote:Actually, I find that quite unintuitive... Clearly, lines should connect the precedent move with the next move? Otherwise, if a game has only one variation, there wouldn't be any lines at all?
Perhaps if all sibling moves are:yishn wrote:I'm not sure how horizontal lines would make it any easier?ewan1971 wrote: That's one way of looking at it conceptually, but visually this could get messy because in an SGF file with many variations, the tree quickly gets out of control, with diagonal lines running all over the place, making it difficult to trace the branches.
X
|
Y - Y1 - Y2 - Y3
that might be a little more legible than a bunch of diagonal lines that are hard to follow.
-
ewan1971
- Dies in gote
- Posts: 53
- Joined: Wed Dec 07, 2016 11:08 pm
- GD Posts: 0
- Has thanked: 3 times
- Been thanked: 8 times
Re: Sabaki SGF editor
hyperpape wrote:I tend to agree. For narrow paths, lines connecting the previous moves make sense.yishn wrote:Actually, I find that quite unintuitive... Clearly, lines should connect the precedent move with the next move? Otherwise, if a game has only one variation, there wouldn't be any lines at all?Perhaps if all sibling moves are:yishn wrote:I'm not sure how horizontal lines would make it any easier?ewan1971 wrote: That's one way of looking at it conceptually, but visually this could get messy because in an SGF file with many sub-variations, the tree quickly gets out of control, with diagonal lines running all over the place, making it difficult to trace the branches.
X
|
Y - Y1 - Y2 - Y3
that might be a little more legible than a bunch of diagonal lines that are hard to follow.
Right, that's what I meant... It just looks neater this way, especially for a commented game with many variations, which themselves may have many variations. For me, things can quickly get messy visually.
-
TheCannyOnion
- Dies with sente
- Posts: 102
- Joined: Sun Dec 11, 2016 11:15 pm
- Rank: 4K
- GD Posts: 0
- Has thanked: 9 times
- Been thanked: 8 times
Re: Sabaki SGF editor
I second this. This is more intuitive and visually less taxing.hyperpape wrote:I tend to agree. For narrow paths, lines connecting the previous moves make sense.yishn wrote:Actually, I find that quite unintuitive... Clearly, lines should connect the precedent move with the next move? Otherwise, if a game has only one variation, there wouldn't be any lines at all?Perhaps if all sibling moves are:yishn wrote:I'm not sure how horizontal lines would make it any easier?ewan1971 wrote: That's one way of looking at it conceptually, but visually this could get messy because in an SGF file with many variations, the tree quickly gets out of control, with diagonal lines running all over the place, making it difficult to trace the branches.
X
|
Y - Y1 - Y2 - Y3
that might be a little more legible than a bunch of diagonal lines that are hard to follow.
- yishn
- Dies in gote
- Posts: 57
- Joined: Tue Jun 30, 2015 2:37 am
- Rank: 4 kyu
- GD Posts: 0
- Location: Germany
- Been thanked: 15 times
- Contact:
Re: Sabaki SGF editor
I've hacked together a quick implementation of this suggestion:

Left is the suggestion and right is current implementation. How is this intuitive?

Left is the suggestion and right is current implementation. How is this intuitive?
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Sabaki SGF editor
Personally, I like the current implementation better. I don't feel that strongly about it, though.
be immersed
- ez4u
- Oza
- Posts: 2414
- Joined: Wed Feb 23, 2011 10:15 pm
- Rank: Jp 6 dan
- GD Posts: 0
- KGS: ez4u
- Location: Tokyo, Japan
- Has thanked: 2351 times
- Been thanked: 1332 times
Re: Sabaki SGF editor
Personally the only problem I have with the current tree is the spacing is too wide. In a heavily commented game, too much of the time I just see a set of horizontal lines running off the screen to the right. Is it possible to add an option to adjust the spacing between nodes?
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
-
quanloh
- Beginner
- Posts: 15
- Joined: Wed Jul 13, 2016 8:58 pm
- Rank: OGS 14k
- GD Posts: 0
- KGS: quanloh
- IGS: quanloh
- OGS: quanloh
- Online playing schedule: OGS 1900-2200 GMT+8
- Been thanked: 5 times
Re: Sabaki SGF editor
or a collapsible tree?ez4u wrote:Personally the only problem I have with the current tree is the spacing is too wide. In a heavily commented game, too much of the time I just see a set of horizontal lines running off the screen to the right. Is it possible to add an option to adjust the spacing between nodes?
-
ewan1971
- Dies in gote
- Posts: 53
- Joined: Wed Dec 07, 2016 11:08 pm
- GD Posts: 0
- Has thanked: 3 times
- Been thanked: 8 times
Re: Sabaki SGF editor
quanloh wrote:or a collapsible tree?ez4u wrote:Personally the only problem I have with the current tree is the spacing is too wide. In a heavily commented game, too much of the time I just see a set of horizontal lines running off the screen to the right. Is it possible to add an option to adjust the spacing between nodes?
That would work! Actually, I think the heart of the problem really is how best to display a commented game with a large number of variations. There is no need to lay out the entire game tree all the time, but to only display the relevant variation as one scrolls to the move that has that variation.
This would solve all problems...