Orgas: Add template system to render graph in output file
This commit is contained in:
1
orgas/templates/footer.tmpl
Normal file
1
orgas/templates/footer.tmpl
Normal file
@ -0,0 +1 @@
|
||||
}
|
1
orgas/templates/gizmo.tmpl
Normal file
1
orgas/templates/gizmo.tmpl
Normal file
@ -0,0 +1 @@
|
||||
\"${identifier}\" [shape=${shape} color=\"transparent\" style=filled fillcolor=\"${color}\" label=${label} ${additionals}]
|
3
orgas/templates/header.tmpl
Normal file
3
orgas/templates/header.tmpl
Normal file
@ -0,0 +1,3 @@
|
||||
digraph {
|
||||
rankdir = RL;
|
||||
label = \"Link between organisations, libraries and users.\";
|
1
orgas/templates/label_default.tmpl
Normal file
1
orgas/templates/label_default.tmpl
Normal file
@ -0,0 +1 @@
|
||||
<${name}<br/>(code: ${code})<br/>PID: ${pid}>
|
1
orgas/templates/label_patron_types.tmpl
Normal file
1
orgas/templates/label_patron_types.tmpl
Normal file
@ -0,0 +1 @@
|
||||
<${name}<br/>PID: ${pid}>
|
1
orgas/templates/label_users.tmpl
Normal file
1
orgas/templates/label_users.tmpl
Normal file
@ -0,0 +1 @@
|
||||
<${first_name} ${last_name}<br/>${email}${info}>
|
1
orgas/templates/link.tmpl
Normal file
1
orgas/templates/link.tmpl
Normal file
@ -0,0 +1 @@
|
||||
\"${identifier}\" -> \"${relation}\"
|
Reference in New Issue
Block a user