Skip to content

Hi, what are the advantages of presentation in imodeljs? #272

Answered by grigasp
shenshengyi asked this question in General
Discussion options

You must be logged in to vote

Hi,

the general idea of the presentation APIs is to help get data from iModels in a format that's suitable to present to end-users. We split that data into 2 categories: hierarchies and content.

With hierarchy rules and hierarchy related APIs (tree data provider, etc.) it's easy to create different hierarchies without doing too much coding. The library takes care of creating and associating different kinds of nodes to specific kinds of parents.

With content rules and content related APIs you can create data that can be presented in components like table, property grid, list view, etc. The library takes care not only of formatting the values, but also loading additional related properties …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shenshengyi
Comment options

Answer selected by pmconne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants