Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Diagrammes et graphes

stzMathStyle

19 méthodes propres · 7 formes avec extensions, rangées sous leur méthode

la source: base/graph/stzMathDiagram.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Diagrammes et graphes

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Exemples : 0 viennent des tests de la bibliothèque ; 7 ont été composés à partir de la signature de chaque méthode et exécutés pour cette page, sur un objet neuf, par exemple o1 = StzCurvedGraphStyle(). 12 méthodes n'en ont pas encore. Exemples exécutés le 2026-10-03 20:23 dans la bibliothèque au commit 0e72e2e2c.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
SetCanvas
(sans commentaire dans la source : le nom se lit comme une phrase) set canvasQCSXTZZZIBWU
CanvasWidth
(sans commentaire dans la source : le nom se lit comme une phrase) canvas width
exemple composé
o1 = StzCurvedGraphStyle()
? o1.CanvasWidth()
#--> 720
composé à partir de la signature, exécuté pour cette page
aucune extension
CanvasHeight
(sans commentaire dans la source : le nom se lit comme une phrase) canvas height
exemple composé
o1 = StzCurvedGraphStyle()
? o1.CanvasHeight()
#--> 640
composé à partir de la signature, exécuté pour cette page
aucune extension
ForAll
ForAll("Set x", rows) -- rows are DATA. Each row is one of: [ :shape, "x.icon", :circle | :rect | :text | :line | :curve | :poly | :mark, [ props ] ] [ :delete, "x.icon" ] unmint a shape an earlier rule made [ :unknown, "p.sx", lo, hi ] a variable the solver owns [ :field, "U.ox", number | "expression" ] [ :override, "u.arrow.x2", number | "expression" ] [ :ensure, "fn", [ args ] ] a constraint [ :encourage, "fn", [ args ] ] an objective [ :layer, "x.text", :above | :below, "x.icon" ] A property or argument is a number, a path ("x.icon.r"), or an expression over paths ("U.ox + 14*ux(u.arrow)").QCSXTZZZIBWU
ForAllWhere
(sans commentaire dans la source : le nom se lit comme une phrase) for all whereQCSXTZZZIBWU
Rules
(sans commentaire dans la source : le nom se lit comme une phrase) rulesaucune extension
StartPlanar
A PLANAR START. The solver never leaves the basin it starts in -- DN7f measured 84 crossing terms holding 10,138 energy units at convergence that no weight could spend -- so the start is where planarity is decided. A style that draws a graph declares which objects are its vertices, which shape's centre carries them, and which constructors are its edges; the diagram then seeds those centres by Tutte's embedding rather than at random. Everything else in the picture still starts where it always did.QCSXTZZZIBWU
StartLayout
LAYOUTS AS STARTS (DN8b). The graph plane's own engines -- hierarchical, ring, force, mesh, sequence -- computed on the graph the substance's vertices and edges make, and overlaid as the solver's start. The planar start is one of them. StartTrying names SEVERAL: the solver takes them in order, and the first that ends lawful is the picture -- so the seed is no longer what decides whether a lattice crosses.aucune extension
StartTrying
(sans commentaire dans la source : le nom se lit comme une phrase) start tryingaucune extension
Starts
the starts to try, in order; empty means one random start
exemple composé
o1 = StzCurvedGraphStyle()
? @@( o1.Starts() )
#--> [ "planar", "hierarchical", "force", "random" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
ClearPlanarStart
(sans commentaire dans la source : le nom se lit comme une phrase) clear planar startaucune extension
PlanarStart
(sans commentaire dans la source : le nom se lit comme une phrase) planar start
exemple composé
o1 = StzCurvedGraphStyle()
? @@( o1.PlanarStart() )
#--> [ "Vertex", "icon", [ "Edge", "Arc" ] ]
composé à partir de la signature, exécuté pour cette page
aucune extension
SetMargin
A MARGIN inside the paper. The on-canvas rule holds every shape inside the canvas exactly, and a style whose vertices repel one another pushes them onto that line: the dodecahedron came out with its outer face touching all four edges. A margin moves the line in.QCSXTZZZIBWU
Margin
(sans commentaire dans la source : le nom se lit comme une phrase) margin
exemple composé
o1 = StzCurvedGraphStyle()
? o1.Margin()
#--> 36
composé à partir de la signature, exécuté pour cette page
aucune extension
SetTheme
COLOUR AS MEANING (DN8d). A style writes ROLES -- :primary for the one accent, :neutral for ink, :muted for secondary ink, :background for the paper -- and the theme decides what each is. A theme is named here; the diagram resolves every role through it at draw time, and a text with no colour of its own takes the best of black and white on what it sits on, measured. Content colours -- Byrne's plate, the quaternion table's eight -- stay the style's own data.QCSXTZZZIBWU
Theme
(sans commentaire dans la source : le nom se lit comme une phrase) theme
exemple composé
o1 = StzCurvedGraphStyle()
? o1.Theme()
#--> light
composé à partir de la signature, exécuté pour cette page
aucune extension
SolveLabelsAfter
LABELS AFTER SHAPES. The joint first stage lets a name's constraints move the shapes -- which an Euler diagram needs, since a set must be large enough for its name, and which a graph must NOT have: a name held off an edge pulls on the edge's endpoints, and at a high penalty weight eight names threw a planar cube away to make room for themselves. Under this, the first stage sees no label term at all, and the names find their room against frozen shapes.QCSXTZZZIBWU
LabelsAfter
(sans commentaire dans la source : le nom se lit comme une phrase) labels after
exemple composé
o1 = StzCurvedGraphStyle()
? o1.LabelsAfter()
#--> 1
composé à partir de la signature, exécuté pour cette page
aucune extension