Closed skngetich closed 1 year ago
Hi! To make it easier to help, could you post a (simplified) diagram, so we have an example to work with?
In the meantime, I've looked into this some more. Sadly, PlantUML does not offer an easy way to add spacing inside an element.
Use a dummy container inside the boundary as a workaround.
```plantuml
@startuml
!include | ![](http://cdn-0.plantuml.com/plantuml/png/NP31IiD048Rl-nHZJYa8AlGOGZ7YhI0K3vvacXtBOZApp4uEKVhkBjjQJM_p_n_3VCmc6QfDu-1k0lV3v0cQRdtNhTyxOSF0fArpwJDmHCKHlXs0Kc_8Xu6Qvkbrktrhsr83x4KzQIU3A9WYfxn3R8Kb8oMnETApiEt25y5z0H__uz4TdNEFCh57dUlzBLI_eLejZqD4xmCVuDhY8bxtUVsIgbMXBwH9k8uPdSPplvkpuLYdt9_6VA-0Fvc7XStPTaFiy_j-0000) |
I'll use this diagram as the basis for further examples:
```plantuml
@startuml
!include | ![](http://www.plantuml.com/plantuml/png/SoWkIImgAStDuLBCp4lEAKr9LR1nDj5tDebtpiyhISpCIosou-9ooY_DIqaigjH8qb5GWd6KD1MgkHI00AvI8nae3USfQO9b0rABYlFpD0g0KX0cL3ouihWaDLUZ62WEOGBD0qiWB3D4iOshbiiXDIy5w5O0) |
```plantuml
@startuml
!include | ![](http://cdn-0.plantuml.com/plantuml/png/PP312eCm44Jl-nLRJn4ALV0e8lK72ls0ifeWeMQL91wa-EzDrTgM7W8pys0cREayMJ-Q3WwQcswK2lCgErNPhUhPasPb2m1trpoG9ODMDPwuxLIUr_t8aknK5FW0H3HaMysO9idtUv61fDJS_g4P0CvRYwYF6BrD5A-Lk7z2D07lBeeNUb7MzIo6W5QvvTV9UMM42_agGzy2FcFfpnhCK2gMuGnF) |
```plantuml
@startuml
!include | ![](http://cdn-0.plantuml.com/plantuml/png/LOv1Ii0m44NtESMOJLCGsaAN8iLUGF004fj1GvD9cIH25UzkRBMsMSt_xy7F49FcbBqJDvOcbmt2tTWtO_yy1ahQ4lAz476sj6ZM7YWOZBX0rxRGLF0Ms7xyY0wyvbTBK3KdcpND9_iTETdfueg7aCbeNjNBBSY_86lu553UyGar5NmaMM_q4Ja6Kaj1-_dRFwqneLUnzFifQzZ0_rXtMHDVOa0osRjl) |
```plantuml
@startuml
!include | ![](http://cdn-0.plantuml.com/plantuml/png/ZL31QWCX4BtFLqot5mEbII379OH8SoiK-W75w21ICvRHFImX_rwxQrDwMmyoxptUUpg7N8oKuHBX8R2DWoFizMwjTnywSJ61IVO0VIvZf3qWIae5hu3r78tzz986TZh59FXuEhrCmgiH7nYtcyq4tunpWNt3DwYNa2s6VIIyBdGydt-AZ8pB7FswlHYEpQVEJzZzWcxLOkwVLBRATzIjvbIId5XzLMaU6_y-va8NbIi_ZpLl4lxAjl_Qu0O7ObVN_0q0) |
```plantuml
@startuml
!include | ![](http://cdn-0.plantuml.com/plantuml/png/NP31IiD048Rl-nHZJYa8AlGOGZ7YhI0K3vvacXtBOZApp4uEKVhkBjjQJM_p_n_3VCmc6QfDu-1k0lV3v0cQRdtNhTyxOSF0fArpwJDmHCKHlXs0Kc_8Xu6Qvkbrktrhsr83x4KzQIU3A9WYfxn3R8Kb8oMnETApiEt25y5z0H__uz4TdNEFCh57dUlzBLI_eLejZqD4xmCVuDhY8bxtUVsIgbMXBwH9k8uPdSPplvkpuLYdt9_6VA-0Fvc7XStPTaFiy_j-0000) |
Thank you very much for the descriptive description. From your explanations, I have realized that the issue was the margin between the elements and not the padding. I sorted it out using nodesep
and ranksep
.
Glad to be of help. Happy diagramming!
I would like to change the padding of the elements in a boundary. How can I do that?