Elephant includes a set of dynamic macros, in order to render Gremlin results in a fancy manner.
@{gcchart
(
height
,
name
,
root
)
}
Attributes |
Description |
Default |
Options |
height
|
CSS style height.
|
|
|
name
|
Attribute name.
|
|
|
root
|
|
|
|
@{gchart
(
data
,
height
,
order
,
title
,
type
)
}
Attributes |
Description |
Default |
Options |
data
|
|
|
|
height
|
CSS style height.
|
|
|
order
|
|
|
asc,
desc
|
title
|
|
|
|
type
|
Only items with type.
|
|
line,
pie
|
@{gcindicator
(
name
,
root
)
}
Attributes |
Description |
Default |
Options |
name
|
Attribute name.
|
|
|
root
|
|
|
|
@{gckpi
(
name
,
root
)
}
Attributes |
Description |
Default |
Options |
name
|
Attribute name.
|
|
|
root
|
|
|
|
@{gconcept
(
class
,
name
,
root
)
}
Attributes |
Description |
Default |
Options |
class
|
Writes true or false expressions depending on whether class could be instantiated.
|
|
|
name
|
Attribute name.
|
|
|
root
|
|
|
|
@{gctable
(
name
,
root
)
}
Attributes |
Description |
Default |
Options |
name
|
Attribute name.
|
|
|
root
|
|
|
|
@{gcview
(
concept
,
limit
,
root
)
}
Attributes |
Description |
Default |
Options |
concept
|
|
|
|
limit
|
|
|
|
root
|
|
|
|
Attributes |
Description |
Default |
Options |
value
|
Value to search for.
|
|
|
@{gkpi
(
format
,
now
,
period
,
then
)
}
Attributes |
Description |
Default |
Options |
format
|
Format used to show the value.
|
|
percentage,
difference
|
now
|
|
|
|
period
|
|
|
month,
year,
lastYear,
lastQuarter,
lastSemester,
lastMonth,
semester,
quarter
|
then
|
|
|
|
@{gtable
(
order
,
rows
)
}
Attributes |
Description |
Default |
Options |
order
|
|
|
asc,
desc
|
rows
|
|
|
|
@{gview
(
entities
,
limit
,
matching
,
ranking
,
template
,
tmpl-root
)
}
Attributes |
Description |
Default |
Options |
entities
|
|
|
|
limit
|
|
|
|
matching
|
|
|
|
ranking
|
|
|
|
template
|
Template used to show the items.
|
|
|
tmpl-root
|
Templates root.
|
|
|