Skip to content
PlantUML templates

PlantUML — Class (full feature set)

Packages, abstract / interface stereotypes, generics, hyperlinks, hide/show members, multi-line Creole notes, colour modifiers.

Template previewPlantUML
Rendering…

Make it your own.

@startuml
hide empty members

package "model" <<Frame>> #DDDDFF {
  abstract class Base <<abstract>>
  interface Repo <<interface>>
  class Cache<K,V> {
    +get(K): V
    +put(K, V): void
    -evict(): void
  }
}

Base <|-- Cache
Repo <|.. Cache

note right of Cache
  Supports **bold**, //italic//
  <b>HTML</b> and lists:
  * LRU
  * LFU
  * FIFO
end note

class Hidden #palegreen;line:red;line.bold
hide Hidden members
@enduml