The easiest way to configure the style and the data source
of a diagram component is to set a JViews Diagrammer Designer project to the diagram view
component. This is done with the data
attribute
of the tag that points to an idpr
file.
<jvdf:diagrammerView id="diagrammer"
data="data/diagrammer.idpr"
style="width:800;height:400" />
You can set the CSS style sheet and data source separately.