Browse by category:
|| | ||
How to set the relative size of the Diagrammer in JSF?
You specify the width and height of the JSF diagrammerView tag in percentage. For example:
However by using CSS, you need to ensure that you set the sizes in percentage of the entire DOM branch. If you only set the diagrammer in percentage and the parent container is not set, the browser will not display the diagrammer properly as it will not be able to compute its concrete size.
The attached zip contains files for the "jsf-diagrammer-editing" sample which is located in the distribution under "samplesdiagrammer". Replace the files in the sample with the attached ones. Refer to the documentation under the section "Samples and code examples > Starting the samples" for instructions on how to build and run sample. The modified sample demonstrates the above technique.
|jsf_diagrammer_editing_sample.zip (3 kb)|
|Also listed in|
|Visualizations -> JViews -> Diagrammer|
|Visualizations -> JViews -> Enterprise|
|Sample listing the IltcLayer and IlvManagerLayer layers of a...||Vertical layout of an activity in a Gantt row|