Skip to content

Tag Definition: drawingGraphic

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

anchor

implied

None

['nw', 'n', 'ne', 'e', 'c', 'w', 'sw', 's', 'se']

baseDir

implied

None

function

required

None

hAlign

implied

None

module

required

None

showBoundary

implied

None

x

required

None

y

required

None

Can contain
(caption?, (param | widget)*)

Purpose

This lets you include a drawing created using diagra's drawing system, much like drawing. This however has some quirks that make it a bit different e.g. as x,y positional control.

See the relevant docs here docs

Example usage

<story>
    <illustration height="300" width="300">
        <drawingGraphic x="30" y="30" anchor="w" module="BarChart01" function="BarChart01">
            <param name="chart.barWidth">50</param>
        </drawingGraphic>
    </illustration>
</story>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <story> ➔ <illustration> ➔ <drawingGraphic>