Module:Coxeter–Dynkin Diagram
This module implements Template:Coxeter–Dynkin diagram. It is invoked as
{{#invoke:Coxeter–Dynkin diagram|CDD}}
though the parameter is ignored; instead it uses the parameters passed to the template. See the template documentation for how that is used.
For using this from other Lua modules, first load the module.
local CDD = require('Module:Coxeter–Dynkin diagram')._CDD
You can then use it with the following syntax.
CDD{"node", "3", "node"}
See the template documentation for possible inputs.