\documentclass{standalone}
\usepackage{graphicx}
\usepackage{calc}
\usepackage{svg}
\def\imagepath{./test}
\graphicspath{{\imagepath/}}
\usepackage[imagepath=\imagepath]{nomnoml}
\begin{document}
\begin{nomnoml}{nomnoml test}{nomnoml_test}
[Pirate|eyeCount: Int|raid();pillage()|
[beard]--[parrot]
[beard]-:>[foul mouth]
]
[
mischief | bawl | sing || yell | drink]
[Marauder]<:--[Pirate]
[Pirate]- 0..7[mischief]
[jollyness]->[Pirate]
[jollyness]->[rum]
[jollyness]->[singing]
[Pirate]-> *[rum|tastiness: Int|swig()]
[Pirate]->[singing]
[singing]<->[rum]
[st]->[plunder]
[plunder]->[more loot]
[more loot]->[st]
[more loot] no ->[e]
[Sailor] - [shiver me;timbers]
\end{nomnoml}
\end{document}