Group - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

DocumentTools[Canvas]

 Group
 create a canvas group structure

 Calling Sequence Group(contents) Group(contents, options)

Parameters

 contents - list of canvas elements position= - (optional) [x,y], "right", "below" active - (optional) truefalse

Description

 • The Group command is a part of a structure passed to NewCanvas in order to create a group collection when creating a canvas.
 • The option active=true can be used to set one group in a canvas as the one that should be active when the document is loaded in Maple Learn.

Examples

 > $\mathrm{with}\left(\mathrm{DocumentTools}:-\mathrm{Canvas}\right):$
 > $\mathrm{cv}≔\mathrm{NewCanvas}\left(\left[\left[\mathrm{Group}\left(\left[\mathrm{Math}\left({x}^{2},\mathrm{annotation}="Group 1"\right),{x}^{3}\right]\right),\mathrm{Group}\left(\left[\mathrm{Math}\left({y}^{2},\mathrm{annotation}="Group 2"\right),{y}^{3}\right]\right)\right]\right]\right):$
 > $\mathrm{ShowCanvas}\left(\mathrm{cv}\right)$
 > $\mathrm{ShareCanvas}\left(\mathrm{cv}\right)$

Compatibility

 • The DocumentTools[Canvas][Group] command was introduced in Maple 2021.
 • For more information on Maple 2021 changes, see Updates in Maple 2021.
 • The DocumentTools[Canvas][Group] command was updated in Maple 2022.
 • The active option was introduced in Maple 2022.
 • For more information on Maple 2022 changes, see Updates in Maple 2022.

 See Also