insnode←{           ⍝ Insert vertex ⍵ in graph ⍺.
    (⍵⌈⍴⍺)↑⍺,⍵⍴⊂⍬   ⍝ extend graph with sufficient nulls.
}
code_colours

test script

Back to: notes

Back to: Workspaces