forked from free-wheeling/freewheeling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yml.unknown
50 lines (50 loc) · 1.59 KB
/
template.yml.unknown
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
-
name: interface
children:
-
name: bindings
children:
{% for d in declare %}
-
name: declare
attributes:
var: {{ d.var }}
type: {{ d.type }}
init: {{ d.init }}
{% endfor %}
{% for b in bindings %}
-
name: binding
attributes:
input: {{ b.input }}
{% for o in b.outputs %}
output{{ loop.index + 1 }}: {{ o[loop.index] }}
{% endfor %}
{% for p in b.parameters %}
parameters{{ loop.index + 1 }}: {{ p[loop.index] }}
{% endfor %}
conditions: {{ b.conditions }}
{% endfor %}
name: graphics
children:
{% for g in graphics %}
-
name: layout
attributes:
name: {{ g.name }}
show: {{ g.show }}
namepos: {{ g.namepos }}
pos: {{ g.pos }}
label: {{ g.label }}
scale: {{ g.scale }}}
elabel: {{ g.elabel }}
id: {{ g.id }}
children:
{% for c in g.children %}
-
name: {{ c.name }}
attributes:
name: {{ c.attributes.name }}
{% endfor %}
{% endfor %}