Removing/Hiding Borders on Tables

0 votes
asked Nov 18, 2020 in Question / help by schmidtjano (220 points)
Hello!

Is there a way to remove/hide the borders of a table in a note, or at least be able to set the border colour to the same colour as the note?

I tried "skinparam TableBorderColor #white", but that did not work for me.

Thanks!

schmidtjano

1 Answer

+1 vote
answered Nov 18, 2020 by The-Lu (31,620 points)
selected Dec 3, 2020 by schmidtjano
 
Best answer

Hello S.

  • Have you an example for testing?

Otherwise here is an example, according to your request:

at least [...] set the border colour to the same colour as the note

You can use "<#FBFB77,#FBFB77>" on the begin of the table as:

@startuml
node node
note right of node
  <#FBFB77,#FBFB77>|= Husky / Yorkie |= Foo |
  | SourceTree1 | foo1 |
  | ST2 | foo2 |
end note
@enduml


[See on PlantUML server]

See also document on:

If that can help,
Regards,
Th.

commented Nov 19, 2020 by albert (3,120 points)
I think a small note is on its place the #FBFB77 represents the default yellow color of the note.

When specifying e.g

skinparam notebackgroundcolor red

one gets yellow lines in the table as borders, in that case one should use:

<#red,#red>|= Husky / Yorkie |= Foo |

Also to be noted is that the first mentioned color is for the coloring of the header line and the second color is for the borders.
commented Dec 3, 2020 by schmidtjano (220 points)
Thank you very much, Albert!
commented Dec 3, 2020 by schmidtjano (220 points)
Thank you very much, The-Lu!
...