Code Snippets PlantUML

Short texts PlantUML 🧑‍💻 Code snippets PlantUML ✍️ Reading lists PlantUML 👀

event_protocol_message

@startuml package Bindings { abstract class ProtocolBinding { +to_protocol(Event): Message +from_protocol(Message): Event +generate_attributes() } class PulsarBinding class RabbitBinding abstract class Message { data attributes } class PulsarMessage class RabbitMessage } package Events { class EventAttributes { ..CE-attributes.. id source specversion type .. datacontenttype subject time — ..meemoo-attributes.. outcome: EventOutcome correlation_id — +to_dict() +to_json() } class […]

EosCamera.puml

@startuml class EosCamera { WaitTimeoutForNextLiveDownload : int = 125 MaximumCopyrightLengthInBytes : int = 64 MaximumArtistLengthInBytes : int = 64 MaximumOwnerNameLengthInBytes : int = 32 + LiveViewStarted : EventHandler + LiveViewStopped : EventHandler + LiveViewUpdate : EventHandler + LiveViewPaused : EventHandler + PictureTaken : EventHandler + Shutdown : EventHandler + WillShutdown : EventHandler + VolumeInfoChanged : […]

plant uml

@startuml class User { – name : String – age : Integer – address : String .. Simple Setter .. setName(name : String) :void setAge(age : String) : void setAddress(address : String) : void .. Simple Getter .. getName() : String getAge() : String getAddress : String } note top of User Ini merupakan kelas […]

style presets

# Style Presets @startuml ‘ Preset Styles by Jeriel Jan ‘ Preset: Monochrome !define STYLE_DEFAULT_ACCENT #000 !define STYLE_DEFAULT_BGC #FFF !define STYLE_DEFAULT_FGC #000 ‘ Preset: Material Light Blue (200) !define STYLE_LIGHT_ACCENT #81D4FA !define STYLE_LIGHT_BGC #FFF !define STYLE_LIGHT_FGC #000 ‘ Preset: Material Light Blue (800) !define STYLE_DARK_ACCENT #0277BD !define STYLE_DARK_BGC #FFF !define STYLE_DARK_FGC #000 ‘ Preset: Material […]

stylesheet uml

# Project Stylesheet @startuml ‘ Load preset styles. !define STYLEPATH . !include STYLEPATH/style-presets.iuml ‘ Color Definition ‘ Choose the style you want by applying them here. !define STYLE_ACCENT STYLE_DEFAULT_FGC !define STYLE_BGC STYLE_DEFAULT_BGC !define STYLE_FGC STYLE_DEFAULT_FGC ‘ RECOMMENDED STYLE ‘ -=- DO NOT EDIT THIS SECTION. -=- ‘ See Custom Style section below to override items […]