Module:SB tree: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 111: Line 111:
-- Start/stop ratios are the same, depth is deeper, and edge-extend is allowed
-- Start/stop ratios are the same, depth is deeper, and edge-extend is allowed
local depth = 4
local depth = 4
local edge_extend = 0
local edge_extend = 2
local sb_tree_depths = p.sb_tree_depths(depth, edge_extend)
local sb_tree_depths = p.sb_tree_depths(depth, edge_extend)
local sb_tree_ratios = p.sb_tree_ratios(depth, {1, 1}, {1, 0}, edge_extend)
local sb_tree_ratios = p.sb_tree_ratios(depth, {1, 1}, {1, 0}, edge_extend)
Line 121: Line 121:
-- Create the multi-column header cell
-- Create the multi-column header cell
result = result .. '! colspan="' .. depth + 1 .. " | Ratio\n"
result = result .. '! colspan="' .. depth + 1 .. " | Ratios\n"
-- Create the individual rows
-- Create the individual rows