Elephant includes a set of dynamic macros, in order to render Gremlin results in a fancy manner.
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| height | CSS style height. | ||
| name | Attribute name. | ||
| root | |||
| roots |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| data | |||
| height | CSS style height. | ||
| order | asc, desc | ||
| roots | |||
| title | |||
| type | Only items with type. | line, pie |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| name | Attribute name. | ||
| root | |||
| roots |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| name | Attribute name. | ||
| root | |||
| roots |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| class | Writes true or false expressions depending on whether class could be instantiated. | ||
| name | Attribute name. | ||
| root |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| name | Attribute name. | ||
| root | |||
| roots |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| concept | |||
| limit | |||
| root | |||
| roots |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| roots | |||
| value | Value to search for. |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| format | Format used to show the value. | percentage, difference | |
| now | |||
| period | month, year, lastYear, lastQuarter, lastSemester, semester, lastMonth, quarter | ||
| roots | |||
| then |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| order | asc, desc | ||
| roots | |||
| rows |
| Atributs | Descripció | Per defecte | Opcions |
|---|---|---|---|
| entities | |||
| limit | |||
| matching | |||
| ranking | |||
| roots | |||
| template | Template used to show the items. | ||
| tmpl-root | Templates root. |
These are ElephantGraph, real-data, dynamic macros examples.
| Phase | Projects |
|---|---|
| Resolution | 1 |
| Incubator | 3 |
| Idea | 9 |
| Execution | 15 |
@w{cards(class=three)}
@ {gview(entities="projects-random",ranking="project-alltime",matching="project-relations",tmpl-root="dossier",template="project-cards",limit=3)}
@w{/cards}
@w{grid(class=two column)}
@w{column}
@w{table(class=definition)}
@w{theader(values="Phase|Projects")}
@ {gtable(rows=projects-phase)}
@w{/table}
@w{/column}
@w{column}
@ {gchart(title="Projects phase",type=pie,data=projects-phase,height=300px)}
@w{/column}
@w{column}
@ {gchart(title="Dossier status",type=pie,data=dossier-status,height=300px)}
@w{/column}
@w{column}
@ {gchart(title="Issues priority",type=pie,data=issues-status,height=300px)}
@w{/column}
@w{/grid}