The element Module

PANDOC = '/usr/local/bin/pandoc'

Location of the pandoc executable, resolved from PATH rather than hardcoded, so that generated commands work regardless of platform and of how pandoc was installed (Homebrew, MacPorts, distro package).

class DataModelElement(block: Dict | None)[source]
tab_indent(indent: int) → str[source]
class Graph[source]
add_edge(edge)[source]
add_node(node_id, node_repr, group=None)[source]
print(file, indent: int)[source]
print_group(group_id, file, indent: int, max_h=4)[source]
fqn(schema: str, name: str) → str[source]
qstr(s)[source]
hstr(s)[source]
attrs2string(attrs: Dict[str, str]) → str[source]
add_html_row(cols: List[str], border: int = 1, align: str = None, tag='td') → str[source]
add_markdown_row(cols: List[str]) → str[source]
add_markdown_header_row(cols: List[str]) → str[source]
hr_markdown() → str[source]
start_markdown_table() → str[source]
end_markdown_table() → str[source]
add_row(cols: List[str], format: str = 'html') → str[source]
add_header_row(cols: List[str], format: str = 'html') → str[source]
hr(format: str = 'html') → str[source]
start_table(border: int = 1, align: str = 'left', format: str = 'html')[source]
end_table(format: str = 'html')[source]
start_invisible_row(format: str = 'html') → str[source]
end_invisible_row(format: str = 'html') → str[source]
create_graph_envelop(of: str, title: str, svg: str)[source]