Hacker News new | ask | show | jobs
by bmacho 987 days ago
edit: I thought that it goes top to down, but no, it determines order other ways. Original Pirate table:

  [Pirate|
    [beard]--[parrot]
    [beard]-:>[foul mouth]
  ]
parent posts Pirate table

  [Pirate|
    [foul mouth]<:-[beard]
    [parrot]--[beard]
  ]
this is upside down. Defining beard and parrot the order we want them to appear doesn't help:

  [Pirate|
    [beard]
    [parrot]
    [foul mouth]
    [foul mouth]<:-[beard]
    [parrot]--[beard]
  ]
it is still upside down.
1 comments

Thanks for treating this as a puzzle. I think it proves the point that you either need to reverse engineer the layout engine in your head or guess and check to get good layouts.