...
The PlaySQL and the SQL plugin select data from a SQL database.
The following example uses the SQL Plugin version 4.2.2 (the latest free version) to select the page hierarchy from Confluence's Demonstation Space.
Generate a sequence diagram from a SQL selection
Here we are using the Play SQL Plugin to select the data which should be drawn as a sequence diagram. The selection is shown inside the Code Block.
Include PlantUML code from an other Confluence page
...