projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
21535: changed test spec from select all to select each individually Arvados-DCO...
[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
}