Цифровой садик - приветственная

Цифровой садик - приветственная | Полный список всего, что тут есть | RSS | Подписаться через follow.it

26.11.2024

graphviz

В орг-модном src-блоке:

By default, DOT assumes the UTF-8 character encoding. Way to avoid non-ASCII characters in labels is to use HTML entities for special characters. During label evaluation, these entities are translated into the underlying character.

In quoted strings in DOT, the only escaped character is double-quote ". That is, in quoted strings, the dyad \" is converted to "; all other characters are left unchanged. In particular, \\ remains \\. Layout engines may apply additional escape sequences.

https://www.graphviz.org/documentation/

Node ports

(Прихвачено из мануала)

A node port is a point where edges can attach to a node. (When an edge is not attached to a port, it is aimed at the node’s center and the edge is clipped at the node’s boundary.)

There are two types of ports. Ports based on the 8 compass points "n", "ne", "e", "se", "s", "sw", "w" or "nw" can be specified for any node. The end of the edge will then be aimed at that position on the node. Thus, if se port is specified, the edge will connect to the node at its southeast “corner”. In addition, nodes with a record shape can use the record structure to define ports, while HTML-like labels with tables can make any cell a port using the PORT attribute of a <TD> element. If a record box or table cell defines a port name, an edge can use that port name to indicate that it should be aimed at the center of the box. (By default, the edge is clipped to the box’s boundary.)

There are also two ways to specify ports. One way is to use an edge’s headport and tailport attributes, e.g.

a -> b [tailport=se]

Alternatively, the portname can be used to modify the node name as part of the edge declaration using the syntax node name:port name. Thus, another way to handle the example given above would be

a -> b:se

Если у вас есть мысли, комментарии, предложения или отклики по поводу этой страницы или этого цифрового сада в целом, напишите мне сообщение на agnessa@agnessa.pp.ru. Мне ооочень интересно!

Задонатить.


An IndieWeb Webring 🕸💍