@@ -208,8 +208,7 @@ def func_source(fn, default=..., human=None) -> Optional[Tuple[str, int]]:
208208 If given, better be a 2-tuple respecting types,
209209 or ``...``, to raise.
210210 :param human:
211- when true, partials denote their args like ``$fn(a=1, ...)`` in the returned text,
212- otherwise, just the (fqd-)name, appropriate for IDs.
211+ when true, denote builtins like python does
213212 """
214213 import inspect
215214
@@ -450,13 +449,30 @@ def plot(
450449 No need to quote it, handled by the plotter, downstream.
451450 :param str graph:
452451 (optional) A :class:`nx.Digraph` with overrides to merge with the graph provided
453- by underlying plottables (depending of course on the :term:`installed plotter`).
454- It may contain "public" graph, node & edge attributes eventually reaching
455- `Graphviz`_.
452+ by underlying plottables (translated by the :term:`installed plotter`).
453+
454+ It may contain "public" or "private *graph*, *node* & *edge* attributes:
455+
456+ - "private" attributes: those starting with underscore(``_``),
457+ handled by :term:`plotter`:
458+
459+ - ``_source`` *(graph)*: a non user-overridable attribute with values
460+ used to select plotter-styles::
461+
462+ netop | net | plan | solution | <'_source` missing>
463+ - ``_fn_link_target`` & ``_fn_link_target`` *(node)*: if truthy,
464+ override result 2-tuple of :meth:`_get_fn_link()`.
465+ - ``_op_tooltip`` & ``_fn_tooltip`` *(node)*: if truthy,
466+ override those derrived from :meth:`_make_op_tooltip()` &
467+ :meth:`_make_op_tooltip()`.
468+
469+ - "public" attributes: reaching `Graphviz`_ as-is.
470+
471+ .. Note::
472+
473+ Remember to escape those values as `Graphviz`_ HTML-Like strings
474+ (use :func:`.plot.graphviz_html_string()`).
456475
457- .. Note::
458- Remember to properly escape values for `Graphviz`_
459- e.g. with :func:`html.escape()` or :func:`.plot.quote_dot_word()`.
460476 :param inputs:
461477 an optional name list, any nodes in there are plotted
462478 as a "house"
@@ -552,7 +568,7 @@ def plot(
552568 fontname=italic;
553569 label=<netop>;
554570 splines=ortho;
555- <a> [fillcolor=wheat, shape=invhouse, style=filled, tooltip=< (int) 1> ];
571+ <a> [fillcolor=wheat, shape=invhouse, style=filled, tooltip=" (int) 1" ];
556572 ...
557573
558574 """
0 commit comments