projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
21224: restored mstoolbar single input functionality Arvados-DCO-1.1-Signed-off-by...
[arvados.git]
/
services
/
workbench2
/
src
/
lib
/
cwl-svg
/
graph
/
template-parser.ts
1
export class TemplateParser {
2
3
static parse(tpl: any) {
4
const ns = "http://www.w3.org/2000/svg";
5
const node = document.createElementNS(ns, "g");
6
node.innerHTML = tpl;
7
return node.firstElementChild;
8
}
9
}