nomnoml_syntax: Summary of nomnoml syntax.

nomnoml_syntaxR Documentation

Summary of nomnoml syntax.

Description

Summary of nomnoml syntax.

Association Types

⁠association -⁠

⁠association ->⁠

⁠association <->⁠

⁠dependency -->⁠

⁠dependency <-->⁠

⁠generalization -:>⁠

⁠generalization <:-⁠

⁠implementation --:>⁠

⁠implementation <:--⁠

⁠composition +-⁠

⁠composition +->⁠

⁠aggregation o-⁠

⁠aggregation o->⁠

⁠note --⁠

⁠hidden -/-⁠

⁠weightless edge _>⁠

⁠weightless dashed __⁠

Classifier Types

⁠[name]⁠

⁠[<abstract> name]⁠

⁠[<instance> name]⁠

⁠[<note> name]⁠

⁠[<reference> name]⁠

⁠[<package> name]⁠

⁠[<frame> name]⁠

⁠[<database> name]⁠

⁠[<start> name]⁠

⁠[<end> name]⁠

⁠[<state> name]⁠

⁠[<choice> name]⁠

⁠[<input> name]⁠

⁠[<sender> name]⁠

⁠[<receiver> name]⁠

⁠[<transceiver> name]⁠

⁠[<actor> name]⁠

⁠[<usecase> name]⁠

⁠[<label> name]⁠

⁠[<hidden> name]⁠

⁠[<table> table | a | 5 | b | 7]⁠

Directives

⁠#arrowSize: 1⁠

⁠#bendSize: 0.3⁠

⁠#direction: down | right⁠

⁠#gutter: 5⁠

⁠#edgeMargin: 0⁠

⁠#edges: hard | rounded⁠

⁠#background: transparent⁠

⁠#fill: #eee8d5; #fdf6e3⁠

⁠#fillArrows: false⁠

⁠#font: Calibri⁠

⁠#fontSize: 12⁠

⁠#leading: 1.25⁠

⁠#lineWidth: 3⁠

⁠#padding: 8⁠

⁠#spacing: 40⁠

⁠#stroke: #33322E⁠

⁠#title: filename⁠

⁠#zoom: 1⁠

⁠#acyclicer: greedy⁠

⁠#ranker: network-simplex | tight-tree | longest-path⁠

Custom Classifier Styles

A directive that starts with . define a classifier style. The style is written as a space separated list of modifiers and key/value pairs.

⁠#.box: fill=#8f8 dashed⁠

⁠#.blob: visual=ellipse⁠

⁠[<box> GreenBox]⁠

⁠[<blob> HideousBlob]⁠

Available key/value pairs are:

⁠fill=(any css color)⁠

⁠stroke=(any css color)⁠

align=center

align=left

direction=right

direction=down

visual=actor

visual=class

visual=database

visual=ellipse

visual=end

visual=frame

visual=hidden

visual=input

visual=none

visual=note

visual=package

visual=receiver

visual=rhomb

visual=roundrect

visual=sender

visual=start

visual=transceiver

Style title and text body

⁠title=left,italic,bold⁠

⁠body=center,italic,bold⁠

Text modifiers:

bold

underline

italic

dashed

empty


nomnoml documentation built on Nov. 20, 2023, 5:09 p.m.