Skip to main content
Module

x/graphviz/attribute.ts

🦕 Simple Graphviz library for Deno.
Latest
File
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749
/** * Package that defines the attribute type and attribute settings. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html} * @packageDocumentation *//** * Module defining attributes. */export namespace attribute { /** * Factor damping force motions. * On each iteration, a nodes movement is limited to this factor of its potential motion. * By being less than 1.0, the system tends to ``cool'', thereby preventing cycling. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:Damping Node, Edge and Graph Attributes#Damping} * @graphvizType double * @graphvizDefault 0.99 * @graphvizMinimum 0 * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const Damping = "Damping"; /** * Spring constant used in virtual physical model. * It roughly corresponds to an ideal edge length (in inches), in that increasing K tends to increase the distance between nodes. * Note that the edge attribute {@link len} can be used to override this value for adjacent nodes. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:K Node, Edge and Graph Attributes#K} * @graphvizType double * @graphvizDefault 0.3 * @graphvizMinimum 0 * @graphvizNotes sfdp, fdp only * @graphvizUsedBy GC * @category Attribute */ export const K = "K"; /** * Hyperlinks incorporated into device-dependent output. * At present, used in ps2, cmap, i*map and svg formats. * For all these formats, URLs can be attached to nodes, edges and clusters. * URL attributes can also be attached to the root graph in ps2, cmap and i*map formats. * This serves as the base URL for relative URLs in the former, and as the default image map file in the latter. * * For svg, cmapx and imap output, the active area for a node is its visible image. * For example, an unfilled node with no drawn boundary will only be active on its label. * For other output, the active area is its bounding box. * The active area for a cluster is its bounding box. * For edges, the active areas are small circles where the edge contacts its head and tail nodes. * In addition, for svg, cmapx and imap, the active area includes a thin polygon approximating the edge. * The circles may overlap the related node, and the edge URL dominates. * If the edge has a label, this will also be active. Finally, if the edge has a head or tail label, this will also be active. * * Note that, for edges, the attributes {@link headURL}, {@link tailURL}, {@link labelURL} and {@link edgeURL} allow control of various parts of an edge. * Also note that, if active areas of two edges overlap, it is unspecified which area dominates. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:URL Node, Edge and Graph Attributes#URL} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault <none> * @graphvizNotes svg, postscript, map only * @graphvizUsedBy ENGC * @category Attribute */ export const URL = "URL"; /** * A string in the {@link https://graphviz.gitlab.io/_pages/doc/info/output.html#d:xdot xdot format} specifying an arbitrary background. * During rendering, the canvas is first filled as described in the {@link bgcolor} attribute. * Then, if _background is defined, the graphics operations described in the string are performed on the canvas. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:_background Node, Edge and Graph Attributes#_background} * @graphvizType string * @graphvizDefault <none> * @graphvizUsedBy G * @category Attribute */ export const _background = "_background"; /** * Indicates the preferred area for a node or empty cluster when laid out by patchwork. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:area Node, Edge and Graph Attributes#area} * @graphvizType double * @graphvizDefault 1 * @graphvizMinimum >0 * @graphvizNotes patchwork only * @graphvizUsedBy NC * @category Attribute */ export const area = "area"; /** * Style of arrowhead on the head node of an edge. * This will only appear if the {@link dir} attribute is "forward" or "both". * * See the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:arrowhead Node, Edge and Graph Attributes#arrowhead} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:arrowType arrowType} * @graphvizDefault normal * @graphvizUsedBy E * @category Attribute */ export const arrowhead = "arrowhead"; /** * Multiplicative scale factor for arrowheads. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:arrowsize Node, Edge and Graph Attributes#arrowsize} * @graphvizType double * @graphvizDefault 1 * @graphvizMinimum 0 * @graphvizUsedBy E * @category Attribute */ export const arrowsize = "arrowsize"; /** * Style of arrowhead on the tail node of an edge. * This will only appear if the {@link dir} attribute is "back" or "both". * * See the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:arrowtail Node, Edge and Graph Attributes#arrowtail} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:arrowType arrowType} * @graphvizDefault normal * @graphvizUsedBy E * @category Attribute */ export const arrowtail = "arrowtail"; /** * Bounding box of drawing in points. * * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:rect rect} * @graphvizNotes write only * @graphvizUsedBy G * @category Attribute */ export const bb = "bb"; /** * When attached to the root graph, this color is used as the background for entire canvas. * When a cluster attribute, it is used as the initial background for the cluster. * If a cluster has a filled {@link style}, the cluster's {@link fillcolor} will overlay the background color. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:bgcolor Node, Edge and Graph Attributes#bgcolor} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:colorList colorList} * @graphvizDefault <none> * @graphvizUsedBy GC * @category Attribute */ export const bgcolor = "bgcolor"; /** * If true, the drawing is centered in the output canvas. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:center Node, Edge and Graph Attributes#center} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy G * @category Attribute */ export const center = "center"; /** * Specifies the character encoding used when interpreting string input as a text label. * The default value is "UTF-8". The other legal value is "iso-8859-1" or, equivalently, "Latin1". * The charset attribute is case-insensitive. * Note that if the character encoding used in the input does not match the charset value, the resulting output may be very strange. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:charset Node, Edge and Graph Attributes#charset} * @graphvizType string * @graphvizDefault "UTF-8" * @graphvizUsedBy G * * @category Attribute */ export const charset = "charset"; /** * Mode used for handling clusters. * If clusterrank is "local", a subgraph whose name begins with "cluster" is given special treatment. * The subgraph is laid out separately, and then integrated as a unit into its parent graph, with a bounding rectangle drawn about it. * If the cluster has a label parameter, this label is displayed within the rectangle. * Note also that there can be clusters within clusters. * At present, the modes "global" and "none" appear to be identical, both turning off the special cluster processing. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:clusterrank Node, Edge and Graph Attributes#clusterrank} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:clusterMode clusterMode} * @graphvizDefault local * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const clusterrank = "clusterrank"; /** * Basic drawing color for graphics, not text. * For the latter, use the fontcolor attribute. * * For edges, the value can either be a single color or a colorList. * In the latter case, if colorList has no fractions, the edge is drawn using parallel splines or lines, one for each color in the list, in the order given. * The head arrow, if any, is drawn using the first color in the list, and the tail arrow, if any, the second color. * This supports the common case of drawing opposing edges, but using parallel splines instead of separately routed multiedges. * If any fraction is used, the colors are drawn in series, with each color being given roughly its specified fraction of the edge. * For example, the graph * * ```dot * digraph G { * a -> b [dir=both color="red:blue"] * c -> d [dir=none color="green:red;0.25:blue"] * } * ``` * * yields * * ![colorlist](https://graphviz.gitlab.io/_pages/doc/info/colorlist.gif) * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:color Node, Edge and Graph Attributes#color} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:colorList colorList} * @graphvizDefault black * @graphvizUsedBy ENC * @category Attribute */ export const color = "color"; /** * This attribute specifies a color scheme namespace. * If defined, it specifies the context for interpreting color names. * In particular, if a color value has form "xxx" or "//xxx", then the color xxx will be evaluated according to the current color scheme. * If no color scheme is set, the standard X11 naming is used. * For example, if colorscheme=bugn9, then color=7 is interpreted as "/bugn9/7". * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:colorscheme Node, Edge and Graph Attributes#colorscheme} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy ENCG * @category Attribute */ export const colorscheme = "colorscheme"; /** * Comments are inserted into output. * Device-dependent * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:comment Node, Edge and Graph Attributes#comment} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy ENG * @category Attribute */ export const comment = "comment"; /** * If true, allow edges between clusters. (See {@link lhead} and {@link ltail} below.) * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:compound Node, Edge and Graph Attributes#compound} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const compound = "compound"; /** * If true, use edge concentrators. * This merges multiedges into a single edge and causes partially parallel edges to share part of their paths. * The latter feature is not yet available outside of dot. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:concentrate Node, Edge and Graph Attributes#concentrate} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy G * @category Attribute */ export const concentrate = "concentrate"; /** * If false, the edge is not used in ranking the nodes. * For example, in the graph * * ```graphviz * digraph G { * a -> c; * a -> b; * b -> c [constraint=false]; * } * ``` * * the edge `b -> c` does not add a constraint during rank assignment, so the only constraints are that a be above b and c, yielding the graph: * * ![constraint](https://graphviz.gitlab.io/_pages/doc/info/constraint.gif) * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:constraint Node, Edge and Graph Attributes#constraint} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizNotes dot only * @graphvizUsedBy E * @category Attribute */ export const constraint = "constraint"; /** * If true, attach edge label to edge by a 2-segment polyline, underlining the label, then going to the closest point of spline. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:decorate Node, Edge and Graph Attributes#decorate} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy E * @category Attribute */ export const decorate = "decorate"; /** * This specifies the distance between nodes in separate connected components. * If set too small, connected components may overlap. Only applicable if {@link pack}=false. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:defaultdist Node, Edge and Graph Attributes#defaultdist} * @graphvizType double * @graphvizDefault 1+(avg. len)*sqrt(|V|) * @graphvizMinimum epsilon * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const defaultdist = "defaultdist"; /** * Set the number of dimensions used for the layout. * The maximum value allowed is 10. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dim Node, Edge and Graph Attributes#dim} * @graphvizType int * @graphvizDefault 2 * @graphvizMinimum 2 * @graphvizNotes sfdp, fdp, neato only * @graphvizUsedBy G * @category Attribute */ export const dim = "dim"; /** * Set the number of dimensions used for rendering. * The maximum value allowed is 10. * If both dimen and dim are set, the latter specifies the dimension used for layout, and the former for rendering. * If only dimen is set, this is used for both layout and rendering dimensions. * * Note that, at present, all aspects of rendering are 2D. * This includes the shape and size of nodes, overlap removal, and edge routing. * Thus, for dimen > 2, the only valid information is the pos attribute of the nodes. * All other coordinates will be 2D and, at best, will reflect a projection of a higher-dimensional point onto the plane. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dimen Node, Edge and Graph Attributes#dimen} * @graphvizType int * @graphvizDefault 2 * @graphvizMinimum 2 * @graphvizNotes sfdp, fdp, neato only * @graphvizUsedBy G * @category Attribute */ export const dimen = "dimen"; /** * Set edge type for drawing arrowheads. * This indicates which ends of the edge should be decorated with an arrowhead. * The actual style of the arrowhead can be specified using the {@link arrowhead} and {@link arrowtail} attributes. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dir Node, Edge and Graph Attributes#dir} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:dirType dirType} * @graphvizDefault "forward(directed) none(undirected)" * @graphvizUsedBy E * @category Attribute */ export const dir = "dir"; /** * Only valid when {@link mode}="ipsep". * If true, constraints are generated for each edge in the largest (heuristic) directed acyclic subgraph such that the edge must point downwards. * If "hier", generates level constraints similar to those used with {@link mode}="hier". * The main difference is that, in the latter case, only these constraints are involved, so a faster solver can be used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:diredgeconstraints Node, Edge and Graph Attributes#diredgeconstraints} * @graphvizType string/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const diredgeconstraints = "diredgeconstraints"; /** * Distortion factor for {@link shape}=polygon. * Positive values cause top part to be larger than bottom; negative values do the opposite. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:distortion Node, Edge and Graph Attributes#distortion} * @graphvizType double * @graphvizDefault -100 * @graphvizUsedBy N * @category Attribute */ export const distortion = "distortion"; /** * This specifies the expected number of pixels per inch on a display device. * For bitmap output, this guarantees that text rendering will be done more accurately, both in size and in placement. * For SVG output, it is used to guarantee that the dimensions in the output correspond to the correct number of points or inches. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dpi Node, Edge and Graph Attributes#dpi} * @graphvizType double * @graphvizDefault "96.0 0.0" * @graphvizNotes svg, bitmap output only * @graphvizUsedBy G * @category Attribute */ export const dpi = "dpi"; /** * If **edgeURL** is defined, this is the link used for the non-label parts of an edge. * This value overrides any {@link URL} defined for the edge. * Also, this value is used near the head or tail node unless overridden by a {@link headURL} or {@link tailURL} value, respectively. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgeURL Node, Edge and Graph Attributes#edgeURL} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const edgeURL = "edgeURL"; /** * Synonym for {@link edgeURL}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgehref Node, Edge and Graph Attributes#edgehref} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const edgehref = "edgehref"; /** * If the edge has a {@link URL} or {@link edgeURL} attribute, this attribute determines which window of the browser is used for the URL attached to the non-label part of the edge. * Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does. * If undefined, the value of the {@link target} is used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgetarget Node, Edge and Graph Attributes#edgetarget} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault <none> * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const edgetarget = "edgetarget"; /** * Tooltip annotation attached to the non-label part of an edge. * This is used only if the edge has a {@link URL} or {@link edgeURL} attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgetooltip Node, Edge and Graph Attributes#edgetooltip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, cmap only * @graphvizUsedBy E * @category Attribute */ export const edgetooltip = "edgetooltip"; /** * Terminating condition. If the length squared of all energy gradients are < **epsilon**, the algorithm stops. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:epsilon Node, Edge and Graph Attributes#epsilon} * @graphvizType double * @graphvizDefault .0001 * # nodes(mode == KK) .0001(mode == major) * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const epsilon = "epsilon"; /** * Margin used around polygons for purposes of spline edge routing. * The interpretation is the same as given for {@link sep}. * This should normally be strictly less than {@link sep}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:esep Node, Edge and Graph Attributes#esep} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:addDouble addDouble}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:addPoint addPoint} * @graphvizDefault 3 * @graphvizNotes not dot * @graphvizUsedBy G * @category Attribute */ export const esep = "esep"; /** * Color used to fill the background of a node or cluster assuming {@link style}=filled, or a filled arrowhead. * If fillcolor is not defined, {@link color} is used. (For clusters, if color is not defined, {@link bgcolor} is used.) * If this is not defined, the default is used, except for {@link shape}=point or when the output format is MIF, which use black by default. * * If the value is a {@link colorList}, a gradient fill is used. * By default, this is a linear fill; setting style=radial will cause a radial fill. * At present, only two colors are used. If the second color (after a colon) is missing, the default color is used for it. * See also the {@link gradientangle} attribute for setting the gradient angle. * * Note that a cluster inherits the root graph's attributes if defined. * Thus, if the root graph has defined a **fillcolor**, this will override a **color** or **bgcolor** attribute set for the cluster. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fillcolor Node, Edge and Graph Attributes#fillcolor} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:colorList colorList} * @graphvizDefault "lightgrey(nodes) black(clusters)" * @graphvizUsedBy NEC * @category Attribute */ export const fillcolor = "fillcolor"; /** * If `false`, the size of a node is determined by smallest width and height needed to contain its label and image, * if any, with a {@link margin} specified by the margin attribute. * The width and height must also be at least as large as the sizes specified by the {@link width} and {@link height} attributes, * which specify the minimum values for these parameters. * * If `true`, the node size is specified by the values of the {@link width} and {@link height} attributes only and is not expanded to contain the text label. * There will be a warning if the label (with margin) cannot fit within these limits. * * If the {@link fixedsize} attribute is set to shape, the {@link width} and {@link height} attributes also determine the size of the node shape, * but the label can be much larger. Both the label and shape sizes are used when avoiding node overlap, * but all edges to the node ignore the label and only contact the node shape. No warning is given if the label is too large. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fixedsize Node, Edge and Graph Attributes#fixedsize} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}/string * @graphvizDefault FALSE * @graphvizUsedBy N * @category Attribute */ export const fixedsize = "fixedsize"; /** * Color used for text. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontcolor Node, Edge and Graph Attributes#fontcolor} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color} * @graphvizDefault black * @graphvizUsedBy ENGC * @category Attribute */ export const fontcolor = "fontcolor"; /** * Font used for text. * This very much depends on the output format and, for non-bitmap output such as PostScript or SVG, * the availability of the font when the graph is displayed or printed. * As such, it is best to rely on font faces that are generally available, * such as Times-Roman, Helvetica or Courier. * * How font names are resolved also depends on the underlying library that handles font name resolution. * If Graphviz was built using the fontconfig library, the latter library will be used to search for the font. * See the commands **fc-list**, **fc-match** and the other fontconfig commands for how names are resolved and which fonts are available. * Other systems may provide their own font package, such as Quartz for OS X. * * Note that various font attributes, such as weight and slant, can be built into the font name. * Unfortunately, the syntax varies depending on which font system is dominant. Thus, using fontname="times bold italic" will produce a bold, slanted Times font using Pango, the usual main font library. * Alternatively, fontname="times:italic" will produce a slanted Times font from fontconfig, while fontname="times-bold" will resolve to a bold Times using Quartz. * You will need to ascertain which package is used by your Graphviz system and refer to the relevant documentation. * * If Graphviz is not built with a high-level font library, fontname will be considered the name of a Type 1 or True Type font file. * If you specify fontname=schlbk, the tool will look for a file named schlbk.ttf or schlbk.pfa or schlbk.pfb in one of the directories specified by the {@link fontpath} attribute. * The lookup does support various aliases for the common fonts. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontname Node, Edge and Graph Attributes#fontname} * @graphvizType string * @graphvizDefault "Times-Roman" * @graphvizUsedBy ENGC * @category Attribute */ export const fontname = "fontname"; /** * Allows user control of how basic fontnames are represented in SVG output. * If fontnames is undefined or "svg", the output will try to use known SVG fontnames. * For example, the default font "Times-Roman" will be mapped to the basic SVG font "serif". * This can be overridden by setting fontnames to "ps" or "gd". In the former case, known PostScript font names such as "Times-Roman" will be used in the output. * In the latter case, the fontconfig font conventions are used. Thus, "Times-Roman" would be treated as "Nimbus Roman No9 L". * These last two options are useful with SVG viewers that support these richer fontname spaces. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontnames Node, Edge and Graph Attributes#fontnames} * @graphvizType string * @graphvizDefault "" * @graphvizNotes svg only * @graphvizUsedBy G * @category Attribute */ export const fontnames = "fontnames"; /** * Directory list used by libgd to search for bitmap fonts if Graphviz was not built with the fontconfig library. * If **fontpath** is not set, the environment variable DOTFONTPATH is checked. * If that is not set, GDFONTPATH is checked. * If not set, libgd uses its compiled-in font path. * Note that fontpath is an attribute of the root graph. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontpath Node, Edge and Graph Attributes#fontpath} * @graphvizType string * @graphvizDefault system-dependent * @graphvizUsedBy G * @category Attribute */ export const fontpath = "fontpath"; /** * Font size, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}, used for text. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontsize Node, Edge and Graph Attributes#fontsize} * @graphvizType double * @graphvizDefault 14 * @graphvizMinimum 1 * @graphvizUsedBy ENGC * @category Attribute */ export const fontsize = "fontsize"; /** * If true, all {@link xlabel} attributes are placed, * even if there is some overlap with nodes or other labels. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:forcelabels Node, Edge and Graph Attributes#forcelabels} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizUsedBy G * @category Attribute */ export const forcelabels = "forcelabels"; /** * If a gradient fill is being used, this determines the angle of the fill. * For linear fills, the colors transform along a line specified by the angle and the center of the object. * For radial fills, a value of zero causes the colors to transform radially from the center; for non-zero values, * the colors transform from a point near the object's periphery as specified by the value. * * If unset, the default angle is 0. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:gradientangle Node, Edge and Graph Attributes#gradientangle} * @graphvizType int * @graphvizDefault "" * @graphvizUsedBy NCG * @category Attribute */ export const gradientangle = "gradientangle"; /** * If the end points of an edge belong to the same group, i.e., * have the same group attribute, parameters are set to avoid crossings and keep the edges straight. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:group Node, Edge and Graph Attributes#group} * @graphvizType string * @graphvizDefault "" * @graphvizNotes dot only * @graphvizUsedBy N * @category Attribute */ export const group = "group"; /** * If **headURL** is defined, it is output as part of the head label of the edge. * Also, this value is used near the head node, overriding any {@link URL} value. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headURL Node, Edge and Graph Attributes#headURL} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const headURL = "headURL"; /** * Position of an edge's head label, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}. * The position indicates the center of the label. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:head_lp Node, Edge and Graph Attributes#head_lp} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizNotes write only * @graphvizUsedBy E * @category Attribute */ export const head_lp = "head_lp"; /** * If true, the head of an edge is clipped to the boundary of the head node; otherwise, * the end of the edge goes to the center of the node, or the center of a port, if applicable. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headclip Node, Edge and Graph Attributes#headclip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizUsedBy E * @category Attribute */ export const headclip = "headclip"; /** * Synonym for {@link headURL}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headhref Node, Edge and Graph Attributes#headhref} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const headhref = "headhref"; /** * Text label to be placed near head of edge. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headlabel Node, Edge and Graph Attributes#headlabel} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:lblString lblString} * @graphvizDefault center * @graphvizUsedBy E * @category Attribute */ export const headlabel = "headlabel"; /** * Indicates where on the head node to attach the head of the edge. * In the default case, the edge is aimed towards the center of the node, and then clipped at the node boundary. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headport Node, Edge and Graph Attributes#headport} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:portPos portPos} * @graphvizDefault <none> * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const headport = "headport"; /** * If the edge has a {@link headURL}, this attribute determines which window of the browser is used for the URL. * Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does. * If undefined, the value of the {@link target} is used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headtarget Node, Edge and Graph Attributes#headtarget} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, cmap only * @graphvizUsedBy E * @category Attribute */ export const headtarget = "headtarget"; /** * Tooltip annotation attached to the head of an edge. * This is used only if the edge has a {@link headURL} attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headtooltip Node, Edge and Graph Attributes#headtooltip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault 0.5 * @graphvizMinimum 0.02 * @graphvizUsedBy N * @category Attribute */ export const headtooltip = "headtooltip"; /** * Height of node, in inches. * This is taken as the initial, minimum height of the node. * If {@link fixedsize} is true, this will be the final height of the node. * Otherwise, if the node label requires more height to fit, the node's **height** will be increased to contain the label. * Note also that, if the output format is dot, the value given to height will be the final value. * * If the node shape is regular, the width and height are made identical. * In this case, if either the width or the height is set explicitly, that value is used. * In this case, if both the width or the height are set explicitly, the maximum of the two values is used. * If neither is set explicitly, the minimum of the two default values is used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:height Node, Edge and Graph Attributes#height} * @graphvizType double * @graphvizDefault "" * @graphvizNotes svg, postscript, map only * @graphvizUsedBy GCNE * @category Attribute */ export const height = "height"; /** * Synonym for {@link URL}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:href Node, Edge and Graph Attributes#href} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, postscript, map only * @graphvizUsedBy GCNE * @category Attribute */ export const href = "href"; /** * Allows the graph author to provide an id for graph objects which is to be included in the output. * Normal "\N", "\E", "\G" substitutions are applied. * If provided, it is the responsibility of the provider to keep its values sufficiently unique for its intended downstream use. * Note, in particular, that "\E" does not provide a unique id for multi-edges. * If no id attribute is provided, then a unique internal id is used. * However, this value is unpredictable by the graph writer. * An externally provided id is not used internally. * * If the graph provides an id attribute, this will be used as a prefix for internally generated attributes. * By making these distinct, the user can include multiple image maps in the same document. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:id Node, Edge and Graph Attributes#id} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizUsedBy N * @category Attribute */ export const id = "id"; /** * Gives the name of a file containing an image to be displayed inside a node. * The image file must be in one of the recognized {@link https://graphviz.gitlab.io/_pages/doc/info/output.html#d:image_fmts formats}, * typically JPEG, PNG, GIF, BMP, SVG or Postscript, and be able to be converted into the desired output format. * * The file must contain the image size information. * This is usually trivially true for the bitmap formats. * For PostScript, the file must contain a line starting with %%BoundingBox: followed by four integers specifying the lower left x and y coordinates and the upper right x and y coordinates of the bounding box for the image, the coordinates being in points. * An SVG image file must contain width and height attributes, typically as part of the svg element. * The values for these should have the form of a floating point number, followed by optional units, e.g., * width="76pt". Recognized units are in, px, pc, pt, cm and mm for inches, pixels, picas, points, centimeters and millimeters, respectively. * The default unit is points. * * Unlike with the {@link shapefile} attribute, the image is treated as node content rather than the entire node. In particular, an image can be contained in a node of any shape, not just a rectangle. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:image Node, Edge and Graph Attributes#image} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const image = "image"; /** * Specifies a list of directories in which to look for image files as specified by the {@link image} attribute or using the IMG element in {@link https://graphviz.gitlab.io/_pages/doc/info/shapes.html#html HTML-like labels}. * The string should be a list of (absolute or relative) pathnames, each separated by a semicolon (for Windows) or a colon (all other OS). * The first directory in which a file of the given name is found will be used to load the image. * If imagepath is not set, relative pathnames for the image file will be interpreted with respect to the current working directory. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:imagepath Node, Edge and Graph Attributes#imagepath} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const imagepath = "imagepath"; /** * Attribute controlling how an image is positioned within its containing node. * This only has an effect when the image is smaller than the containing node. * The default is to be centered both horizontally and vertically. * Valid values: * * | | | * |----|-------------------------------| * | tl | Top Left | * | tc | Top Centered | * | tr | Top Right | * | ml | Middle Left | * | mc | Middle Centered (the default) | * | mr | Middle Right | * | bl | Bottom Left | * | bc | Bottom Centered | * | br | Bottom Right | * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:imagepos Node, Edge and Graph Attributes#imagepos} * @graphvizType string * @graphvizDefault "mc" * @graphvizUsedBy N * @category Attribute */ export const imagepos = "imagepos"; /** * Attribute controlling how an image fills its containing node. * In general, the image is given its natural size, (cf. {@link dpi}), and the node size is made large enough to contain its image, its label, its margin, and its peripheries. * Its width and height will also be at least as large as its minimum {@link width} and {@link height}. * If, however, fixedsize=true, the width and height attributes specify the exact size of the node. * * During rendering, in the default case (imagescale=false), the image retains its natural size. If imagescale=true, the image is uniformly scaled (i.e., its aspect ratio is preserved) to fit inside the node. At least one dimension of the image will be as large as possible given the size of the node. When imagescale=width, the width of the image is scaled to fill the node width. The corresponding property holds when imagescale=height. When imagescale=both, both the height and the width are scaled separately to fill the node. * * In all cases, if a dimension of the image is larger than the corresponding dimension of the node, * that dimension of the image is scaled down to fit the node. * As with the case of expansion, if imagescale=true, width and height are scaled uniformly. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:imagescale Node, Edge and Graph Attributes#imagescale} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}/string * @graphvizDefault FALSE * @graphvizUsedBy N * @category Attribute */ export const imagescale = "imagescale"; /** * For layout algorithms that support initial input positions (specified by the pos attribute), * this attribute can be used to appropriately scale the values. * By default, fdp and neato interpret the x and y values of pos as being in inches. * (**NOTE**: neato -n(2) treats the coordinates as being in points, being the unit used by the layout algorithms for the pos attribute.) * Thus, if the graph has pos attributes in points, one should set inputscale=72. * This can also be set on the command line using the {@link https://graphviz.gitlab.io/_pages/doc/info/command.html#minusK -s flag} flag. * * If not set, no scaling is done and the units on input are treated as inches. * A value of 0 is equivalent to inputscale=72. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:inputscale Node, Edge and Graph Attributes#inputscale} * @graphvizType double * @graphvizDefault <none> * @graphvizNotes fdp, neato only * @graphvizUsedBy G * @category Attribute */ export const inputscale = "inputscale"; /** * Text label attached to objects. * If a node's {@link shape} is record, then the label can have a {@link https://graphviz.gitlab.io/_pages/doc/info/shapes.html#record special format} which describes the record layout. * * Note that a node's default label is "\N", so the node's name or ID becomes its label. * Technically, a node's name can be an HTML string but this will not mean that the node's label will be interpreted as an {@link https://graphviz.gitlab.io/_pages/doc/info/shapes.html#html HTML-like} label. * This is because the node's actual label is an ordinary string, which will be replaced by the raw bytes stored in the node's name. * To get an HTML-like label, the label attribute value itself must be an HTML string. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:label Node, Edge and Graph Attributes#label} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:lblString lblString} * @graphvizDefaultValu * "\N" (nodes) * "" (otherwise) * @graphvizUsedBy ENGC * @category Attribute */ export const label = "label"; /** * If **labelURL** is defined, this is the link used for the label of an edge. * This value overrides any {@link URL} defined for the edge. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelURL Node, Edge and Graph Attributes#labelURL} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const labelURL = "labelURL"; /** * The value indicates whether to treat a node whose name has the form |edgelabel|* as a special node representing an edge label. * The default (0) produces no effect. * If the attribute is set to 1, sfdp uses a penalty-based method to make that kind of node close to the center of its neighbor. * With a value of 2, sfdp uses a penalty-based method to make that kind of node close to the old center of its neighbor. * Finally, a value of 3 invokes a two-step process of overlap removal and straightening. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:label_scheme Node, Edge and Graph Attributes#label_scheme} * @graphvizType int * @graphvizDefault 0 * @graphvizMinimum 0 * @graphvizNotes sfdp only * @graphvizUsedBy G * @category Attribute */ export const label_scheme = "label_scheme"; /** * This, along with {@link labeldistance}, determine where the headlabel (taillabel) are placed with respect to the head (tail) in polar coordinates. * The origin in the coordinate system is the point where the edge touches the node. * The ray of 0 degrees goes from the origin back along the edge, parallel to the edge at the origin. * * The angle, in degrees, specifies the rotation from the 0 degree ray, with positive angles moving counterclockwise and negative angles moving clockwise. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelangle Node, Edge and Graph Attributes#labelangle} * @graphvizType double * @graphvizDefault -25 * @graphvizMinimum -180 * @graphvizUsedBy E * @category Attribute */ export const labelangle = "labelangle"; /** * Multiplicative scaling factor adjusting the distance that the headlabel(taillabel) is from the head(tail) node. * The default distance is 10 points. * See {@link labelangle} for more details. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labeldistance Node, Edge and Graph Attributes#labeldistance} * @graphvizType double * @graphvizDefault 1 * @graphvizMinimum 0 * @graphvizUsedBy E * @category Attribute */ export const labeldistance = "labeldistance"; /** * If true, allows edge labels to be less constrained in position. * In particular, it may appear on top of other edges. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfloat Node, Edge and Graph Attributes#labelfloat} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy E * @category Attribute */ export const labelfloat = "labelfloat"; /** * Color used for headlabel and taillabel. * If not set, defaults to edge's fontcolor. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfontcolor Node, Edge and Graph Attributes#labelfontcolor} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color} * @graphvizDefault black * @graphvizUsedBy E * @category Attribute */ export const labelfontcolor = "labelfontcolor"; /** * Font used for headlabel and taillabel. * If not set, defaults to edge's fontname. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfontname Node, Edge and Graph Attributes#labelfontname} * @graphvizType string * @graphvizDefault "Times-Roman" * @graphvizUsedBy E * @category Attribute */ export const labelfontname = "labelfontname"; /** * Font size, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}, used for headlabel and taillabel. * If not set, defaults to edge's fontsize. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfontsize Node, Edge and Graph Attributes#labelfontsize} * @graphvizType double * @graphvizDefault 14 * @graphvizMinimum 1 * @graphvizUsedBy E * @category Attribute */ export const labelfontsize = "labelfontsize"; /** * Synonym for {@link labelURL}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelhref Node, Edge and Graph Attributes#labelhref} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const labelhref = "labelhref"; /** * Justification for cluster labels. * If "r", the label is right-justified within bounding rectangle; if "l", left-justified; else the label is centered. * Note that a subgraph inherits attributes from its parent. * Thus, if the root graph sets **labeljust** to "l", the subgraph inherits this value. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labeljust Node, Edge and Graph Attributes#labeljust} * @graphvizType string * @graphvizDefault "c" * @graphvizUsedBy GC * @category Attribute */ export const labeljust = "labeljust"; /** * Vertical placement of labels for nodes, root graphs and clusters. * * For graphs and clusters, only "t" and "b" are allowed, corresponding to placement at the top and bottom, respectively. * By default, root graph labels go on the bottom and cluster labels go on the top. * Note that a subgraph inherits attributes from its parent. * Thus, if the root graph sets {@link labelloc} to "b", the subgraph inherits this value. * * For nodes, this attribute is used only when the height of the node is larger than the height of its label. * If labelloc is set to "t", "c", or "b", the label is aligned with the top, centered, or aligned with the bottom of the node, respectively. * In the default case, the label is vertically centered. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelloc Node, Edge and Graph Attributes#labelloc} * @graphvizType string * @graphvizDefault * "t"(clusters) * "b"(root graphs) * "c"(nodes) * @graphvizUsedBy NGC * @category Attribute */ export const labelloc = "labelloc"; /** * If the edge has a {@link URL} or {@link labelURL} attribute, this attribute determines which window of the browser is used for the URL attached to the label. * Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does. * If undefined, the value of the {@link target} is used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labeltarget Node, Edge and Graph Attributes#labeltarget} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault <none> * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const labeltarget = "labeltarget"; /** * Tooltip annotation attached to label of an edge. * This is used only if the edge has a {@link URL} or {@link labelURL} attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labeltooltip Node, Edge and Graph Attributes#labeltooltip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, cmap only * @graphvizUsedBy E * @category Attribute */ export const labeltooltip = "labeltooltip"; /** * If true, the graph is rendered in landscape mode. * Synonymous with {@link rotate rotate=90} or {@link orientation orientation=landscape}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:landscape Node, Edge and Graph Attributes#landscape} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy G * @category Attribute */ export const landscape = "landscape"; /** * Specifies layers in which the node, edge or cluster is present. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:layer Node, Edge and Graph Attributes#layer} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:layerRange layerRange} * @graphvizDefault "" * @graphvizUsedBy ENC * @category Attribute */ export const layer = "layer"; /** * Specifies the separator characters used to split an attribute of type {@link layerRange} into a list of ranges. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:layerlistsep Node, Edge and Graph Attributes#layerlistsep} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const layerlistsep = "layerlistsep"; /** * Specifies a linearly ordered list of layer names attached to the graph The graph is then output in separate layers. * Only those components belonging to the current output layer appear. * For more information, see the page {@link https://graphviz.gitlab.io/faq/#FaqOverlays How to use drawing layers (overlays)}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:layers Node, Edge and Graph Attributes#layers} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:layerList layerList} * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const layers = "layers"; /** * Selects a list of layers to be emitted. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:layerselect Node, Edge and Graph Attributes#layerselect} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:layerRange layerRange} * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const layerselect = "layerselect"; /** * Specifies the separator characters used to split the {@link layers} attribute into a list of layer names. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:layersep Node, Edge and Graph Attributes#layersep} * @graphvizType string * @graphvizDefault " :\t" * @graphvizUsedBy G * @category Attribute */ export const layersep = "layersep"; /** * Specifies the name of the layout algorithm to use, such as "dot" or "neato". * Normally, graphs should be kept independent of a type of layout. * In some cases, however, it can be convenient to embed the type of layout desired within the graph. * For example, a graph containing position information from a layout might want to record what the associated layout algorithm was. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:layout Node, Edge and Graph Attributes#layout} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const layout = "layout"; /** * Preferred edge length, in inches. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:len Node, Edge and Graph Attributes#len} * @graphvizType double * @graphvizDefault * 1.0(neato) * 0.3(fdp) * @graphvizNotes fdp, neato only * @graphvizUsedBy E * @category Attribute */ export const len = "len"; /** * Number of levels allowed in the multilevel scheme. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:levels Node, Edge and Graph Attributes#levels} * @graphvizType int * @graphvizDefault MAXINT * @graphvizMinimum 0 * @graphvizNotes sfdp only * @graphvizUsedBy G * @category Attribute */ export const levels = "levels"; /** * Specifies strictness of level constraints in neato when {@link mode}="ipsep" or "hier". * Larger positive values mean stricter constraints, which demand more separation between levels. * On the other hand, negative values will relax the constraints by allowing some overlap between the levels. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:levelsgap Node, Edge and Graph Attributes#levelsgap} * @graphvizType double * @graphvizDefault 0 * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const levelsgap = "levelsgap"; /** * Logical head of an edge. * When {@link compound} is true, if **lhead** is defined and is the name of a cluster containing the real head, * the edge is clipped to the boundary of the cluster. * See the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:lhead Node, Edge and Graph Attributes#lhead} * @graphvizType string * @graphvizDefault "" * @graphvizNotes dot only * @graphvizUsedBy E * @category Attribute */ export const lhead = "lhead"; /** * Height of graph or cluster label, in inches. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:lheight Node, Edge and Graph Attributes#lheight} * @graphvizType double * @graphvizNotes write only * @graphvizUsedBy GC * @category Attribute */ export const lheight = "lheight"; /** * Label position, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}. * The position indicates the center of the label. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:lp Node, Edge and Graph Attributes#lp} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizNotes write only * @graphvizUsedBy EGC * @category Attribute */ export const lp = "lp"; /** * Logical tail of an edge. * When {@link compound} is true, if **ltail** is defined and is the name of a cluster containing the real tail, the edge is clipped to the boundary of the cluster. * See the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:ltail Node, Edge and Graph Attributes#ltail} * @graphvizType string * @graphvizDefault "" * @graphvizNotes dot only * @graphvizUsedBy E * @category Attribute */ export const ltail = "ltail"; /** * Width of graph or cluster label, in inches. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:lwidth Node, Edge and Graph Attributes#lwidth} * @graphvizType double * @graphvizNotes write only * @graphvizUsedBy GC * @category Attribute */ export const lwidth = "lwidth"; /** * For graphs, this sets x and y margins of canvas, in inches. * If the margin is a single double, both margins are set equal to the given value. * * Note that the margin is not part of the drawing but just empty space left around the drawing. * It basically corresponds to a translation of drawing, as would be necessary to center a drawing on a page. * Nothing is actually drawn in the margin. * To actually extend the background of a drawing, see the {@link pad} attribute. * * For clusters, this specifies the space between the nodes in the cluster and the cluster bounding box. * By default, this is 8 points. * * For nodes, this attribute specifies space left around the node's label. * By default, the value is 0.11,0.055. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:margin Node, Edge and Graph Attributes#margin} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizDefault <device-dependent> * @graphvizUsedBy NCG * @category Attribute */ export const margin = "margin"; /** * Sets the number of iterations used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:maxiter Node, Edge and Graph Attributes#maxiter} * @graphvizType int * @graphvizDefault * 100 * # nodes(mode == KK) * 200(mode == major) * 600(fdp) * @graphvizNotes fdp, neato only * @graphvizUsedBy G * @category Attribute */ export const maxiter = "maxiter"; /** * Multiplicative scale factor used to alter the MinQuit (default = 8) and MaxIter (default = 24) parameters used during crossing minimization. * These correspond to the number of tries without improvement before quitting and the maximum number of iterations in each pass. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:mclimit Node, Edge and Graph Attributes#mclimit} * @graphvizType double * @graphvizDefault 1 * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const mclimit = "mclimit"; /** * Specifies the minimum separation between all nodes. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:mindist Node, Edge and Graph Attributes#mindist} * @graphvizType double * @graphvizDefault 1 * @graphvizMinimum 0 * @graphvizNotes circo only * @graphvizUsedBy G * @category Attribute */ export const mindist = "mindist"; /** * Minimum edge length (rank difference between head and tail). * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:minlen Node, Edge and Graph Attributes#minlen} * @graphvizType int * @graphvizDefault 1 * @graphvizMinimum 0 * @graphvizNotes dot only * @graphvizUsedBy E * @category Attribute */ export const minlen = "minlen"; /** * Technique for optimizing the layout. * For neato, if **mode** is "major", neato uses stress majorization. * If **mode** is "KK", neato uses a version of the gradient descent method. * The only advantage to the latter technique is that it is sometimes appreciably faster for small (number of nodes < 100) graphs. * A significant disadvantage is that it may cycle. * * There are two experimental modes in neato, "hier", which adds a top-down directionality similar to the layout used in dot, and "ipsep", * which allows the graph to specify minimum vertical and horizontal distances between nodes. (See the {@link sep} attribute.) * * For sfdp, the default **mode** is "spring", which corresponds to using a spring-electrical model. * Setting **mode** to "maxent" causes a similar model to be run but one that also takes into account edge lengths specified by the "len" attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:mode Node, Edge and Graph Attributes#mode} * @graphvizType string * @graphvizDefault major * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const mode = "mode"; /** * This value specifies how the distance matrix is computed for the input graph. * The distance matrix specifies the ideal distance between every pair of nodes. * neato attemps to find a layout which best achieves these distances. * By default, it uses the length of the shortest path, where the length of each edge is given by its {@link len} attribute. * If **model** is "circuit", neato uses the circuit resistance model to compute the distances. * This tends to emphasize clusters. * If **model** is "subset", neato uses the subset model. * This sets the edge length to be the number of nodes that are neighbors of exactly one of the end points, and then calculates the shortest paths. * This helps to separate nodes with high degree. * * For more control of distances, one can use model=mds. * In this case, the {@link len} of an edge is used as the ideal distance between its vertices. * A shortest path calculation is only used for pairs of nodes not connected by an edge. * Thus, by supplying a complete graph, the input can specify all of the relevant distances. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:model Node, Edge and Graph Attributes#model} * @graphvizType string * @graphvizDefault shortpath * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const model = "model"; /** * If Graphviz is built with MOSEK defined, mode=ipsep and mosek=true, the Mosek software (<www.mosek.com>) is use to solve the ipsep constraints. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:mosek Node, Edge and Graph Attributes#mosek} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const mosek = "mosek"; /** * The original ranking algorithm in dot is recursive on clusters. * This can produce fewer ranks and a more compact layout, but sometimes at the cost of a head node being place on a higher rank than the tail node. * It also assumes that a node is not constrained in separate, incompatible subgraphs. * For example, a node cannot be in a cluster and also be constrained by rank=same with a node not in the cluster. * * If newrank=true, the ranking algorithm does a single global ranking, ignoring clusters. * This allows nodes to be subject to multiple constraints. * Rank constraints will usually take precedence over edge constraints. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:newrank Node, Edge and Graph Attributes#newrank} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const newrank = "newrank"; /** * In dot, this specifies the minimum space between two adjacent nodes in the same rank, in inches. * * For other layouts, this affects the spacing between loops on a single node, or multiedges between a pair of nodes. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:nodesep Node, Edge and Graph Attributes#nodesep} * @graphvizType double * @graphvizDefault 0.25 * @graphvizMinimum 0.02 * @graphvizUsedBy G * @category Attribute */ export const nodesep = "nodesep"; /** * By default, the justification of multi-line labels is done within the largest context that makes sense. * Thus, in the label of a polygonal node, a left-justified line will align with the left side of the node (shifted by the prescribed {@link margin}). * In record nodes, left-justified line will line up with the left side of the enclosing column of fields. * If **nojustify** is "true", multi-line labels will be justified in the context of itself. * For example, if the attribute is set, the first label line is long, and the second is shorter and left-justified, the second will align with the left-most character in the first line, regardless of how large the node might be. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:nojustify Node, Edge and Graph Attributes#nojustify} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy GCNE * @category Attribute */ export const nojustify = "nojustify"; /** * If set, normalize coordinates of final layout so that the first point is at the origin, and then rotate the layout so that the angle of the first edge is specified by the value of normalize in degrees. * If normalize is not a number, it is evaluated as a bool, with true corresponding to 0 degrees. * **NOTE**: Since the attribute is evaluated first as a number, 0 and 1 cannot be used for false and true. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:normalize Node, Edge and Graph Attributes#normalize} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes not dot * @graphvizUsedBy G * @category Attribute */ export const normalize = "normalize"; /** * By default, the final layout is translated so that the lower-left corner of the bounding box is at the origin. * This can be annoying if some nodes are pinned or if the user runs `neato -n`. * To avoid this translation, set notranslate to true. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:notranslate Node, Edge and Graph Attributes#notranslate} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes neato only * @graphvizUsedBy G * @category Attribute */ export const notranslate = "notranslate"; /** * Used to set number of iterations in network simplex applications. * **nslimit** is used in computing node x coordinates, **nslimit1** for ranking nodes. * If defined, # iterations = **nslimit(1)** * # nodes; otherwise, # iterations = MAXINT. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:nslimit Node, Edge and Graph Attributes#nslimit} * @graphvizType double * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const nslimit = "nslimit"; /** * Used to set number of iterations in network simplex applications. * **nslimit** is used in computing node x coordinates, **nslimit1** for ranking nodes. * If defined, # iterations = **nslimit(1)** * # nodes; otherwise, # iterations = MAXINT. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:nslimit1 Node, Edge and Graph Attributes#nslimit1} * @graphvizType double * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const nslimit1 = "nslimit1"; /** * Angle, in degrees, used to rotate polygon node shapes. For any number of polygon sides, 0 degrees rotation results in a flat base. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:ordering Node, Edge and Graph Attributes#ordering} * @graphvizType string * @graphvizDefault "" * @graphvizNotes dot only * @graphvizUsedBy GN * @category Attribute */ export const ordering = "ordering"; /** * If "[lL]*", set graph orientation to landscape Used only if {@link rotate} is not defined. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:orientation Node, Edge and Graph Attributes#orientation} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const orientation = "orientation"; /** * Specify order in which nodes and edges are drawn. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:outputorder Node, Edge and Graph Attributes#outputorder} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:outputMode outputMode} * @graphvizDefault breadthfirst * @graphvizUsedBy G * @category Attribute */ export const outputorder = "outputorder"; /** * Determines if and how node overlaps should be removed. * Nodes are first enlarged using the {@link sep} attribute. * If "true" , overlaps are retained. * If the value is "scale", overlaps are removed by uniformly scaling in x and y. * If the value converts to "false", and it is available, Prism, a proximity graph-based algorithm, is used to remove node overlaps. * This can also be invoked explicitly with "overlap=prism". * This technique starts with a small scaling up, controlled by the {@link overlap_scaling} attribute, which can remove a significant portion of the overlap. * The prism option also accepts an optional non-negative integer suffix. * This can be used to control the number of attempts made at overlap removal. * By default, overlap="prism" is equivalent to overlap="prism1000". * Setting overlap="prism0" causes only the scaling phase to be run. * * If Prism is not available, or the version of Graphviz is earlier than 2.28, "overlap=false" uses a Voronoi-based technique. * This can always be invoked explicitly with "overlap=voronoi". * * If the value is "scalexy", x and y are separately scaled to remove overlaps. * * If the value is "compress", the layout will be scaled down as much as possible without introducing any overlaps, obviously assuming there are none to begin with. * * **N.B.**The remaining allowed values of overlap correspond to algorithms which, at present, can produce bad aspect ratios. * In addition, we deprecate the use of the "ortho*" and "portho*". * * If the value is "vpsc", overlap removal is done as a quadratic optimization to minimize node displacement while removing node overlaps. * * If the value is "orthoxy" or "orthoyx", overlaps are moved by optimizing two constraint problems, one for the x axis and one for the y. * The suffix indicates which axis is processed first. If the value is "ortho", the technique is similar to "orthoxy" except a heuristic is used to reduce the bias between the two passes. * If the value is "ortho_yx", the technique is the same as "ortho", except the roles of x and y are reversed. * The values "portho", "porthoxy", "porthoxy", and "portho_yx" are similar to the previous four, except only pseudo-orthogonal ordering is enforced. * * If the layout is done by neato with {@link mode}="ipsep", then one can use overlap=ipsep. * In this case, the overlap removal constraints are incorporated into the layout algorithm itself. * N.B. At present, this only supports one level of clustering. * * Except for fdp and sfdp, the layouts assume overlap="true" as the default. * Fdp first uses a number of passes using a built-in, force-directed technique to try to remove overlaps. * Thus, fdp accepts **overlap** with an integer prefix followed by a colon, specifying the number of tries. * If there is no prefix, no initial tries will be performed. * If there is nothing following a colon, none of the above methods will be attempted. * By default, fdp uses overlap="9:prism". * Note that overlap="true", overlap="0:true" and overlap="0:" all turn off all overlap removal. * * By default, sfdp uses `overlap="prism0"`. * * Except for the Voronoi and prism methods, all of these transforms preserve the orthogonal ordering of the original layout. * That is, if the x coordinates of two nodes are originally the same, they will remain the same, and if the x coordinate of one node is originally less than the x coordinate of another, this relation will still hold in the transformed layout. * The similar properties hold for the y coordinates. * This is not quite true for the "porth*" cases. * For these, orthogonal ordering is only preserved among nodes related by an edge. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:overlap Node, Edge and Graph Attributes#overlap} * @graphvizType string/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizNotes not dot * @graphvizUsedBy G * @category Attribute */ export const overlap = "overlap"; /** * When overlap=prism, the layout is scaled by this factor, thereby removing a fair amount of node overlap, * and making node overlap removal faster and better able to retain the graph's shape. * * If overlap_scaling is negative, the layout is scaled by -1*overlap_scaling times the average label size. * If overlap_scaling is positive, the layout is scaled by overlap_scaling. * If overlap_scaling is zero, no scaling is done. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:overlap_scaling Node, Edge and Graph Attributes#overlap_scaling} * @graphvizType double * @graphvizDefault -4 * @graphvizMinimum -1.00E+10 * @graphvizNotes prism only * @graphvizUsedBy G * @category Attribute */ export const overlap_scaling = "overlap_scaling"; /** * If true, the overlap removal algorithm will perform a compression pass to reduce the size of the layout. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:overlap_shrink Node, Edge and Graph Attributes#overlap_shrink} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizNotes prism only * @graphvizUsedBy G * @category Attribute */ export const overlap_shrink = "overlap_shrink"; /** * This is true if the value of pack is "true" (case-insensitive) or a non-negative integer. * If true, each connected component of the graph is laid out separately, and then the graphs are packed together. * If pack has an integral value, this is used as the size, in {@link points}, of a margin around each part; otherwise, a default margin of 8 is used. * If pack is interpreted as false, the entire graph is laid out together. * The granularity and method of packing is influenced by the {@link packmode} attribute. * * For layouts which always do packing, such a twopi, the **pack** attribute is just used to set the margin. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:pack Node, Edge and Graph Attributes#pack} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}/int * @graphvizDefault FALSE * @graphvizUsedBy G * @category Attribute */ export const pack = "pack"; /** * This indicates how connected components should be packed (cf. {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:packMode packMode}). * Note that defining {@link packmode} will automatically turn on packing as though one had set `pack=true`. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:packmode Node, Edge and Graph Attributes#packmode} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:packMode packMode} * @graphvizDefault node * @graphvizUsedBy G * @category Attribute */ export const packmode = "packmode"; /** * The pad attribute specifies how much, in inches, to extend the drawing area around the minimal area needed to draw the graph. * If the pad is a single double, both the x and y pad values are set equal to the given value. * This area is part of the drawing and will be filled with the background color, if appropriate. * * Normally, a small pad is used for aesthetic reasons, especially when a background color is used, * to avoid having nodes and edges abutting the boundary of the drawn region. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:pad Node, Edge and Graph Attributes#pad} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizDefault 0.0555 (4 points) * @graphvizUsedBy G * @category Attribute */ export const pad = "pad"; /** * Width and height of output pages, in inches. * If only a single value is given, this is used for both the width and height. * * If this is set and is smaller than the size of the layout, * a rectangular array of pages of the specified page size is overlaid on the layout, * with origins aligned in the lower-left corner, thereby partitioning the layout into pages. * The pages are then produced one at a time, in {@link pagedir} order. * * At present, this only works for PostScript output. * For other types of output, one should use another tool to split the output into multiple output files. * Or use the {@link viewport} to generate multiple files. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:page Node, Edge and Graph Attributes#page} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizUsedBy G * @category Attribute */ export const page = "page"; /** * If the page attribute is set and applicable, this attribute specifies the order in which the pages are emitted. This is limited to one of the 8 row or column major orders. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:pagedir Node, Edge and Graph Attributes#pagedir} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:pagedir pagedir} * @graphvizDefault BL * @graphvizUsedBy G * @category Attribute */ export const pagedir = "pagedir"; /** * Color used to draw the bounding box around a cluster. * If **pencolor** is not defined, {@link color} is used. * If this is not defined, {@link bgcolor} is used. * If this is not defined, the default is used. * * Note that a cluster inherits the root graph's attributes if defined. * Thus, if the root graph has defined a **pencolor**, this will override a **color** or **bgcolor** attribute set for the cluster. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:pagedir Node, Edge and Graph Attributes#pagedir} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color} * @graphvizDefault black * @graphvizUsedBy C * @category Attribute */ export const pencolor = "pencolor"; /** * Specifies the width of the pen, in points, used to draw lines and curves, including the boundaries of edges and clusters. * The value is inherited by subclusters. * It has no effect on text. * * Previous to 31 January 2008, the effect of penwidth=W was achieved by including setlinewidth(W) as part of a {@link style} specification. * If both are used, penwidth will be used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:penwidth Node, Edge and Graph Attributes#penwidth} * @graphvizType double * @graphvizDefault 1 * @graphvizMinimum 0 * @graphvizUsedBy CNE * @category Attribute */ export const penwidth = "penwidth"; /** * Set number of peripheries used in polygonal shapes and cluster boundaries. * Note that {@link https://graphviz.gitlab.io/_pages/doc/info/shapes.html#epsf user-defined shapes} are treated as a form of box shape, so the default peripheries value is 1 and the user-defined shape will be drawn in a bounding rectangle. * Setting peripheries=0 will turn this off. * Also, 1 is the maximum peripheries value for clusters. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:peripheries Node, Edge and Graph Attributes#peripheries} * @graphvizType int * @graphvizDefault * shape default(nodes) * 1(clusters) * @graphvizMinimum 0 * @graphvizUsedBy NC * @category Attribute */ export const peripheries = "peripheries"; /** * If true and the node has a pos attribute on input, neato or fdp prevents the node from moving from the input position. * This property can also be specified in the pos attribute itself (cf. the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} type). * * Note: Due to an artifact of the implementation, previous to 27 Feb 2014, final coordinates are translated to the origin. * Thus, if you look at the output coordinates given in the (x)dot or plain format, pinned nodes will not have the same output coordinates as were given on input. * If this is important, a simple workaround is to maintain the coordinates of a pinned node. * The vector difference between the old and new coordinates will give the translation, which can then be subtracted from all of the appropriate coordinates. * * After 27 Feb 2014, this translation can be avoided in neato by setting the {@link notranslate} to TRUE. * However, if the graph specifies {@link overlap node overlap removal} or a change in {@link ratio aspect ratio}, node coordinates may still change. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:pin Node, Edge and Graph Attributes#pin} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizNotes fdp, neato only * @graphvizUsedBy N * @category Attribute */ export const pin = "pin"; /** * Position of node, or spline control points. * For nodes, the position indicates the center of the node. * On output, the coordinates are in {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points points}. * * In neato and fdp, pos can be used to set the initial position of a node. * By default, the coordinates are assumed to be in inches. * However, the {@link https://graphviz.gitlab.io/_pages/doc/info/command.html#d:s -s} command line flag can be used to specify different units. * As the output coordinates are in points, feeding the output of a graph laid out by a Graphviz program into neato or fdp will almost always require the -s flag. * * When the {@link https://graphviz.gitlab.io/_pages/doc/info/command.html#d:n -n} command line flag is used with neato, * it is assumed the positions have been set by one of the layout programs, and are therefore in points. * Thus, neato -n can accept input correctly without requiring a -s flag and, in fact, ignores any such flag. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:pos Node, Edge and Graph Attributes#pos} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:smoothType splineType} * @graphvizUsedBy EN * @category Attribute */ export const pos = "pos"; /** * Quadtree scheme to use. * * A TRUE bool value corresponds to "normal"; a FALSE bool value corresponds to "none". * As a slight exception to the normal interpretation of bool, a value of "2" corresponds to "fast". * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:quadtree Node, Edge and Graph Attributes#quadtree} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:quadType quadType}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault normal * @graphvizNotes sfdp only * @graphvizUsedBy G * @category Attribute */ export const quadtree = "quadtree"; /** * If **quantum** > 0.0, node label dimensions will be rounded to integral multiples of the quantum. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:quantum Node, Edge and Graph Attributes#quantum} * @graphvizType double * @graphvizDefault 0 * @graphvizMinimum 0 * @graphvizUsedBy G * @category Attribute */ export const quantum = "quantum"; /** * Rank constraints on the nodes in a subgraph. * If **rank**="same", all nodes are placed on the same rank. * If **rank**="min", all nodes are placed on the minimum rank. * If **rank**="source", all nodes are placed on the minimum rank, and the only nodes on the minimum rank belong to some subgraph whose rank attribute is "source" or "min". * Analogous criteria hold for rank="max" and rank="sink". * (Note: the minimum rank is topmost or leftmost, and the maximum rank is bottommost or rightmost.) * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:rank Node, Edge and Graph Attributes#rank} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:rankType rankType} * @graphvizNotes dot only * @graphvizUsedBy S * @category Attribute */ export const rank = "rank"; /** * Sets direction of graph layout. * For example, if **rankdir**="LR", and barring cycles, an edge T -> H; will go from left to right. * By default, graphs are laid out from top to bottom. * * This attribute also has a side-effect in determining how record nodes are interpreted. * See {@link https://graphviz.gitlab.io/_pages/doc/info/shapes.html#record record shapes}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:rankdir Node, Edge and Graph Attributes#rankdir} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:rankdir rankdir} * @graphvizDefault TB * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const rankdir = "rankdir"; /** * In dot, this gives the desired rank separation, in inches. * This is the minimum vertical distance between the bottom of the nodes in one rank and the tops of nodes in the next. * If the value contains "equally", the centers of all ranks are spaced equally apart. * Note that both settings are possible, e.g., ranksep = "1.2 equally". * * In twopi, this attribute specifies the radial separation of concentric circles. * For twopi, ranksep can also be a list of doubles. * The first double specifies the radius of the inner circle; the second double specifies the increase in radius from the first circle to the second; etc. * If there are more circles than numbers, the last number is used as the increment for the remainder. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:ranksep Node, Edge and Graph Attributes#ranksep} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:doubleList doubleList} * @graphvizDefault * 0.5(dot) * 1.0(twopi) * @graphvizMinimum 0.02 * @graphvizNotes twopi, dot only * @graphvizUsedBy G * @category Attribute */ export const ranksep = "ranksep"; /** * Sets the aspect ratio (drawing height/drawing width) for the drawing. * Note that this is adjusted before the {@link size} attribute constraints are enforced. * In addition, the calculations usually ignore the node sizes, so the final drawing size may only approximate what is desired. * * If **ratio** is numeric, it is taken as the desired aspect ratio. * Then, if the actual aspect ratio is less than the desired ratio, the drawing height is scaled up to achieve the desired ratio; * if the actual ratio is greater than that desired ratio, the drawing width is scaled up. * * If **ratio** = "fill" and the {@link size} attribute is set, node positions are scaled, separately in both x and y, so that the final drawing exactly fills the specified size. * If both {@link size} values exceed the width and height of the drawing, then both coordinate values of each node are scaled up accordingly. * However, if either size dimension is smaller than the corresponding dimension in the drawing, one dimension is scaled up so that the final drawing has the same aspect ratio as specified by {@link size}. * Then, when rendered, the layout will be scaled down uniformly in both dimensions to fit the given {@link size}, which may cause nodes and text to shrink as well. * This may not be what the user wants, but it avoids the hard problem of how to reposition the nodes in an acceptable fashion to reduce the drawing size. * * If **** = "compress" and the {@link size} attribute is set, dot attempts to compress the initial layout to fit in the given size. * This achieves a tighter packing of nodes but reduces the balance and symmetry. * This feature only works in dot. * * If **** = "expand", the {@link size} attribute is set, and both the width and the height of the graph are less than the value in {@link size}, * node positions are scaled uniformly until at least one dimension fits {@link size} exactly. * Note that this is distinct from using {@link size} as the desired size, as here the drawing is expanded before edges are generated and all node and text sizes remain unchanged. * * If **** = "auto", the {@link page} attribute is set and the graph cannot be drawn on a single page, then {@link size} is set to an ``ideal'' value. * In particular, the size in a given dimension will be the smallest integral multiple of the page size in that dimension which is at least half the current size. * The two dimensions are then scaled independently to the new size. * This feature only works in dot. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:ratio Node, Edge and Graph Attributes#ratio} * @graphvizType double/string * @graphvizUsedBy G * @category Attribute */ export const ratio = "ratio"; /** * Rectangles for fields of records, * {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:rects Node, Edge and Graph Attributes#rects} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:rect rect} * @graphvizNotes write only * @graphvizUsedBy N * @category Attribute */ export const rects = "rects"; /** * If true, force polygon to be regular, i.e., * the vertices of the polygon will lie on a circle whose center is the center of the node. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:regular Node, Edge and Graph Attributes#regular} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault FALSE * @graphvizUsedBy N * @category Attribute */ export const regular = "regular"; /** * If true and there are multiple clusters, run crossing minimization a second time. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:remincross Node, Edge and Graph Attributes#remincross} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const remincross = "remincross"; /** * The power of the repulsive force used in an extended Fruchterman-Reingold force directed model. * Values larger than 1 tend to reduce the warping effect at the expense of less clustering. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:repulsiveforce Node, Edge and Graph Attributes#repulsiveforce} * @graphvizType double * @graphvizDefault 1 * @graphvizMinimum 0 * @graphvizNotes sfdp only * @graphvizUsedBy G * @category Attribute */ export const repulsiveforce = "repulsiveforce"; /** * This is a synonym for the {@link dpi} attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:resolution Node, Edge and Graph Attributes#resolution} * @graphvizType double * @graphvizDefault * 96.0 * 0.0" * @graphvizNotes svg, bitmap output only * @graphvizUsedBy G * @category Attribute */ export const resolution = "resolution"; /** * This specifies nodes to be used as the center of the layout and the root of the generated spanning tree. * As a graph attribute, this gives the name of the node. * As a node attribute, it specifies that the node should be used as a central node. * In twopi, this will actually be the central node. * In circo, the block containing the node will be central in the drawing of its connected component. * If not defined, twopi will pick a most central node, and circo will pick a random node. * * If the root attribute is defined as the empty string, twopi will reset it to name of the node picked as the root node. * * For twopi, it is possible to have multiple roots, presumably one for each component. * If more than one node in a component is marked as the root, twopi will pick one. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:root Node, Edge and Graph Attributes#root} * @graphvizType string/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault * <none>(graphs) * false(nodes) * @graphvizMinimum * @graphvizNotes circo, twopi only * @graphvizUsedBy GN * @category Attribute */ export const root = "root"; /** * If 90, set drawing orientation to landscape. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:rotate Node, Edge and Graph Attributes#rotate} * @graphvizType int * @graphvizDefault 0 * @graphvizUsedBy G * @category Attribute */ export const rotate = "rotate"; /** * Causes the final layout to be rotated counter-clockwise by the specified number of degrees. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:rotation Node, Edge and Graph Attributes#rotation} * @graphvizType double * @graphvizDefault 0 * @graphvizNotes sfdp only * @graphvizUsedBy G * @category Attribute */ export const rotation = "rotation"; /** * Edges with the same head and the same **samehead** value are aimed at the same point on the head. * This has no effect on loops. * Each node can have at most 5 unique samehead values. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:samehead Node, Edge and Graph Attributes#samehead} * @graphvizType string * @graphvizDefault "" * @graphvizNotes dot only * @graphvizUsedBy E * @category Attribute */ export const samehead = "samehead"; /** * Edges with the same tail and the same sametail value are aimed at the same point on the tail. * This has no effect on loops. * Each node can have at most 5 unique sametail values. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:sametail Node, Edge and Graph Attributes#sametail} * @graphvizType string * @graphvizDefault "" * @graphvizNotes dot only * @graphvizUsedBy E * @category Attribute */ export const sametail = "sametail"; /** * If the input graph defines the {@link vertices} attribute, and output is dot or xdot, this gives the number of points used for a node whose shape is a circle or ellipse. * It plays the same role in neato, when adjusting the layout to avoid overlapping nodes, and in image maps. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:samplepoints Node, Edge and Graph Attributes#samplepoints} * @graphvizType int * @graphvizDefault * 8(output) * 20(overlap and image maps) * @graphvizUsedBy N * @category Attribute */ export const samplepoints = "samplepoints"; /** * If set, after the initial layout, the layout is scaled by the given factors. * If only a single number is given, this is used for both factors. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:scale Node, Edge and Graph Attributes#scale} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizNotes not dot * @graphvizUsedBy G * @category Attribute */ export const scale = "scale"; /** * During network simplex, maximum number of edges with negative cut values to search when looking for one with minimum cut value. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:searchsize Node, Edge and Graph Attributes#searchsize} * @graphvizType int * @graphvizDefault 30 * @graphvizNotes dot only * @graphvizUsedBy G * @category Attribute */ export const searchsize = "searchsize"; /** * Specifies margin to leave around nodes when removing node overlap. * This guarantees a minimal non-zero distance between nodes. * * If the attribute begins with a plus sign '+', an additive margin is specified. * That is, "+w,h" causes the node's bounding box to be increased by w points on the left and right sides, and by h points on the top and bottom. * Without a plus sign, the node is scaled by 1 + w in the x coordinate and 1 + h in the y coordinate. * * If only a single number is given, this is used for both dimensions. * * If unset but {@link esep} is defined, the sep values will be set to the esep values divided by 0.8. If esep is unset, the default value is used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:sep Node, Edge and Graph Attributes#sep} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:addDouble addDouble}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:addPoint addPoint} * @graphvizDefault 4 * @graphvizNotes not dot * @graphvizUsedBy G * @category Attribute */ export const sep = "sep"; /** * Set the shape of a node. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:shape Node, Edge and Graph Attributes#shape} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:shape shape} * @graphvizDefault ellipse * @graphvizUsedBy N * @category Attribute */ export const shape = "shape"; /** * (Deprecated) If defined, shapefile specifies a file containing user-supplied node content. * The {@link shape} of the node is set to box. * The image in the shapefile must be rectangular. * The image formats supported as well as the precise semantics of how the file is used depends on the {@link https://graphviz.gitlab.io/_pages/doc/info/output.html output format}. * For further details, see {@link https://graphviz.gitlab.io/_pages/doc/info/output.html#d:image_fmts Image Formats} and {@link https://graphviz.gitlab.io/faq/#ext_image External PostScript files}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:shapefile Node, Edge and Graph Attributes#shapefile} * @graphvizType string * @graphvizDefault "" * @graphvizUsedBy N * @deprecated * @category Attribute */ export const shapefile = "shapefile"; /** * Print guide boxes in PostScript at the beginning of routesplines if 1, or at the end if 2. (Debugging) * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:showboxes Node, Edge and Graph Attributes#showboxes} * @graphvizType int * @graphvizDefault 0 * @graphvizMinimum 0 * @graphvizNotes dot only * @graphvizUsedBy ENG * @category Attribute */ export const showboxes = "showboxes"; /** * Number of sides if {@link shape}=polygon. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:sides Node, Edge and Graph Attributes#sides} * @graphvizType int * @graphvizDefault 4 * @graphvizMinimum 0 * @graphvizUsedBy N * @category Attribute */ export const sides = "sides"; /** * Maximum width and height of drawing, in inches. * If only a single number is given, this is used for both the width and the height. * * If defined and the drawing is larger than the given size, the drawing is uniformly scaled down so that it fits within the given size. * * If size ends in an exclamation point (!), then it is taken to be the desired size. In this case, if both dimensions of the drawing are less than size, the drawing is scaled up uniformly until at least one dimension equals its dimension in size. * * Note that there is some interaction between the **size** and {@link ratio} attributes. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:size Node, Edge and Graph Attributes#size} * @graphvizType double/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizUsedBy G * @category Attribute */ export const size = "size"; /** * Skew factor for {@link shape}=polygon. Positive values skew top of polygon to right; negative to left. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:skew Node, Edge and Graph Attributes#skew} * @graphvizType double * @graphvizDefault 0 * @graphvizMinimum -100 * @graphvizUsedBy N * @category Attribute */ export const skew = "skew"; /** * Specifies a post-processing step used to smooth out an uneven distribution of nodes. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:smoothing Node, Edge and Graph Attributes#smoothing} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:smoothType smoothType} * @graphvizDefault "none" * @graphvizNotes sfdp only * @graphvizUsedBy G * @category Attribute */ export const smoothing = "smoothing"; /** * If {@link packmode} indicates an array packing, this attribute specifies an insertion order among the components, * with smaller values inserted first. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:sortv Node, Edge and Graph Attributes#sortv} * @graphvizType int * @graphvizDefault 0 * @graphvizMinimum 0 * @graphvizUsedBy GCN * @category Attribute */ export const sortv = "sortv"; /** * Controls how, and if, edges are represented. * If true, edges are drawn as splines routed around nodes; if false, edges are drawn as line segments. * If set to none or "", no edges are drawn at all. * * (1 March 2007) The values line and spline can be used as synonyms for false and true, respectively. In addition, the value polyline specifies that edges should be drawn as polylines. * * (28 Sep 2010) The value ortho specifies edges should be routed as polylines of axis-aligned segments. Currently, the routing does not handle ports or, in dot, edge labels. * * (25 Sep 2012) The value curved specifies edges should be drawn as curved arcs. * * | | | * |------------------------------------------------------------------------------------|--------------------------------------------------------------------------------| * | ![spline_none](https://graphviz.gitlab.io/_pages/doc/info/spline_none.png) | ![spline_line](https://graphviz.gitlab.io/_pages/doc/info/spline_line.png) | * | `splines=none` | `splines=line` | * | `splines=""` | `splines=false` | * | ![spline_polyline](https://graphviz.gitlab.io/_pages/doc/info/spline_polyline.png) | ![spline_curved](https://graphviz.gitlab.io/_pages/doc/info/spline_curved.png) | * | `splines=polyline` | `splines=curved` | * | ![spline_ortho](https://graphviz.gitlab.io/_pages/doc/info/spline_ortho.png) | ![spline_spline](https://graphviz.gitlab.io/_pages/doc/info/spline_spline.png) | * | `splines=ortho` | `splines=spline` | * | | `splines=true` | * * By default, the attribute is unset. How this is interpreted depends on the layout. For dot, * the default is to draw edges as splines. For all other layouts, * the default is to draw edges as line segments. * Note that for these latter layouts, if splines="true", this requires non-overlapping nodes (cf. {@link overlap}). If fdp is used for layout and splines="compound", * then the edges are drawn to avoid clusters as well as nodes. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:splines Node, Edge and Graph Attributes#splines} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}/string * @graphvizUsedBy G * @category Attribute */ export const splines = "splines"; /** * Parameter used to determine the initial layout of nodes. * If unset, the nodes are randomly placed in a unit square with the same seed is always used for the random number generator, so the initial placement is repeatable. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:start Node, Edge and Graph Attributes#start} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:startType startType} * @graphvizDefault "" * @graphvizNotes fdp, neato only * @graphvizUsedBy G * @category Attribute */ export const start = "start"; /** * Set style information for components of the graph. * For cluster subgraphs, if style="filled", the cluster box's background is filled. * * If the default style attribute has been set for a component, an individual component can use style="" to revert to the normal default. * For example, if the graph has * * ``` * edge [style="invis"] * ``` * * making all edges invisible, a specific edge can overrride this via: * * ``` * a -> b [style=""] * ``` * * Of course, the component can also explicitly set its style attribute to the desired value. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:style Node, Edge and Graph Attributes#style} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:style style} * @graphvizDefault "" * @graphvizUsedBy ENCG * @category Attribute */ export const style = "style"; /** * A URL or pathname specifying an XML style sheet, used in SVG output. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:stylesheet Node, Edge and Graph Attributes#stylesheet} * @graphvizType string * @graphvizDefault "" * @graphvizNotes svg only * @graphvizUsedBy G * @category Attribute */ export const stylesheet = "stylesheet"; /** * If **tailURL** is defined, it is output as part of the tail label of the edge. * Also, this value is used near the tail node, overriding any {@link URL} value. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tailURL Node, Edge and Graph Attributes#tailURL} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const tailURL = "tailURL"; /** * Position of an edge's tail label, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}. * The position indicates the center of the label. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tail_lp Node, Edge and Graph Attributes#tail_lp} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizNotes write only * @graphvizUsedBy E * @category Attribute */ export const tail_lp = "tail_lp"; /** * If true, the tail of an edge is clipped to the boundary of the tail node; otherwise, * the end of the edge goes to the center of the node, or the center of a port, if applicable. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tailclip Node, Edge and Graph Attributes#tailclip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizDefault TRUE * @graphvizUsedBy E * @category Attribute */ export const tailclip = "tailclip"; /** * Synonym for {@link tailURL}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tailhref Node, Edge and Graph Attributes#tailhref} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const tailhref = "tailhref"; /** * Text label to be placed near tail of edge. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:taillabel Node, Edge and Graph Attributes#taillabel} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:lblString lblString} * @graphvizDefault "" * @graphvizUsedBy E * @category Attribute */ export const taillabel = "taillabel"; /** * Indicates where on the tail node to attach the tail of the edge. * See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tailport Node, Edge and Graph Attributes#tailport} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:portPos portPos} * @graphvizDefault center * @graphvizUsedBy E * @category Attribute */ export const tailport = "tailport"; /** * If the edge has a {@link tailURL}, this attribute determines which window of the browser is used for the URL. * Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does. * If undefined, the value of the {@link target} is used. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tailtarget Node, Edge and Graph Attributes#tailtarget} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault <none> * @graphvizNotes svg, map only * @graphvizUsedBy E * @category Attribute */ export const tailtarget = "tailtarget"; /** * Tooltip annotation attached to the tail of an edge. * This is used only if the edge has a {@link tailURL} attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tailtooltip Node, Edge and Graph Attributes#tailtooltip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, cmap only * @graphvizUsedBy E * @category Attribute */ export const tailtooltip = "tailtooltip"; /** * If the object has a URL, this attribute determines which window of the browser is used for the URL. * See {@link http://www.w3.org/TR/html401/present/frames.html#adef-target W3C documentation}. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:target Node, Edge and Graph Attributes#target} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}/string * @graphvizDefault <none> * @graphvizNotes svg, map only * @graphvizUsedBy ENGC * @category Attribute */ export const target = "target"; /** * Tooltip annotation attached to the node or edge. * If unset, Graphviz will use the object's {@link label} if defined. * Note that if the label is a record specification or an HTML-like label, the resulting tooltip may be unhelpful. * In this case, if tooltips will be generated, the user should set a tooltip attribute explicitly. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:tooltip Node, Edge and Graph Attributes#tooltip} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString} * @graphvizDefault "" * @graphvizNotes svg, cmap only * @graphvizUsedBy NEC * @category Attribute */ export const tooltip = "tooltip"; /** * If set explicitly to true or false, the value determines whether or not internal bitmap rendering relies on a truecolor color model or uses a color palette. * If the attribute is unset, truecolor is not used unless there is a {@link shapefile} property for some node in the graph. * The output model will use the input model when possible. * * Use of color palettes results in less memory usage during creation of the bitmaps and smaller output files. * * Usually, the only time it is necessary to specify the truecolor model is if the graph uses more than 256 colors. * However, if one uses bgcolor=transparent with a color palette, font antialiasing can show up as a fuzzy white area around characters. * Using **truecolor**=true avoids this problem. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:truecolor Node, Edge and Graph Attributes#truecolor} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool} * @graphvizNotes bitmap output only * @graphvizUsedBy G * @category Attribute */ export const truecolor = "truecolor"; /** * If the input graph defines this attribute, the node is polygonal, and output is dot or xdot, this attribute provides the coordinates of the vertices of the node's polygon, in inches. * If the node is an ellipse or circle, the {@link samplepoints} attribute affects the output. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:vertices Node, Edge and Graph Attributes#vertices} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:pointList pointList} * @graphvizNotes write only * @graphvizUsedBy N * @category Attribute */ export const vertices = "vertices"; /** * Clipping window on final drawing. * Note that this attribute supersedes any {@link size} attribute. * The width and height of the viewport specify precisely the final size of the output. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:viewport Node, Edge and Graph Attributes#viewport} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:viewPort viewPort} * @graphvizDefault "" * @graphvizUsedBy G * @category Attribute */ export const viewport = "viewport"; /** * Factor to scale up drawing to allow margin for expansion in Voronoi technique. * dim' = (1+2*margin)*dim. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:voro_margin Node, Edge and Graph Attributes#voro_margin} * @graphvizType double * @graphvizDefault 0.05 * @graphvizMinimum 0 * @graphvizNotes not dot * @graphvizUsedBy G * @category Attribute */ export const voro_margin = "voro_margin"; /** * Weight of edge. * In dot, the heavier the weight, the shorter, straighter and more vertical the edge is. **N.B.** Weights in dot must be integers. * For twopi, a weight of 0 indicates the edge should not be used in constructing a spanning tree from the root. * For other layouts, a larger weight encourages the layout to make the edge length closer to that specified by the len attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:weight Node, Edge and Graph Attributes#weight} * @graphvizType int/double * @graphvizDefault 1 * @graphvizMinimum * 0(dot,twopi) * 1(neato,fdp) * @graphvizUsedBy E * @category Attribute */ export const weight = "weight"; /** * Width of node, in inches. * This is taken as the initial, minimum width of the node. * If {@link fixedsize} is true, this will be the final width of the node. * Otherwise, if the node label requires more width to fit, the node's width will be increased to contain the label. * Note also that, if the output format is dot, the value given to width will be the final value. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:width Node, Edge and Graph Attributes#width} * @graphvizType double * @graphvizDefault 0.75 * @graphvizMinimum 0.01 * @graphvizUsedBy N * @category Attribute */ export const width = "width"; /** * For xdot output, if this attribute is set, this determines the version of xdot used in output. * If not set, the attribute will be set to the xdot version used for output. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:xdotversion Node, Edge and Graph Attributes#xdotversion} * @graphvizType string * @graphvizNotes xdot only * @graphvizUsedBy G * @category Attribute */ export const xdotversion = "xdotversion"; /** * External label for a node or edge. * For nodes, the label will be placed outside of the node but near it. * For edges, the label will be placed near the center of the edge. * This can be useful in dot to avoid the occasional problem when the use of edge labels distorts the layout. * For other layouts, the xlabel attribute can be viewed as a synonym for the {@link label} attribute. * * These labels are added after all nodes and edges have been placed. * The labels will be placed so that they do not overlap any node or label. * This means it may not be possible to place all of them. * To force placing all of them, use the {@link forcelabels} attribute. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:xlabel Node, Edge and Graph Attributes#xlabel} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:lblString lblString} * @graphvizDefault "" * @graphvizUsedBy EN * @category Attribute */ export const xlabel = "xlabel"; /** * Position of an exterior label, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}. * The position indicates the center of the label. * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:xlp Node, Edge and Graph Attributes#xlp} * @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point} * @graphvizNotes write only * @graphvizUsedBy NE * @category Attribute */ export const xlp = "xlp"; /** * Deprecated:Use {@link pos} attribute, along with {@link dimen} and/or {@link dim} to specify dimensions. * * Provides z coordinate value for 3D layouts and displays. * If the graph has {@link dim} set to 3 (or more), neato will use a node's **z** value for the z coordinate of its initial position if its {@link pos} attribute is also defined. * * Even if no **z** values are specified in the input, it is necessary to declare a **z** attribute for nodes, e.g, * using node[z=""] in order to get z values on output. * Thus, setting dim=3 but not declaring **z** will cause neato -Tvrml to layout the graph in 3D but project the layout onto the xy-plane for the rendering. * If the **z** attribute is declared, the final rendering will be in 3D. * * * @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:z Node, Edge and Graph Attributes#z} * @graphvizType double * @graphvizDefault 0 * @graphvizMinimum * -MAXFLOAT * -1000 * @graphvizUsedBy N * @deprecated * @category Attribute */ export const z = "z"; /** * Attribute types available for edges. */ export type Edge = | typeof URL | typeof arrowhead | typeof arrowsize | typeof arrowtail | typeof color | typeof colorscheme | typeof comment | typeof constraint | typeof decorate | typeof dir | typeof edgeURL | typeof edgehref | typeof edgetarget | typeof edgetooltip | typeof fillcolor | typeof fontcolor | typeof fontname | typeof fontsize | typeof headURL | typeof head_lp | typeof headclip | typeof headhref | typeof headlabel | typeof headport | typeof headtarget | typeof headtooltip | typeof href | typeof id | typeof label | typeof labelURL | typeof labelangle | typeof labeldistance | typeof labelfloat | typeof labelfontcolor | typeof labelfontname | typeof labelfontsize | typeof labelhref | typeof labeltarget | typeof labeltooltip | typeof layer | typeof len | typeof lhead | typeof lp | typeof ltail | typeof minlen | typeof nojustify | typeof penwidth | typeof pos | typeof samehead | typeof sametail | typeof showboxes | typeof style | typeof tailURL | typeof tail_lp | typeof tailclip | typeof tailhref | typeof taillabel | typeof tailport | typeof tailtarget | typeof tailtooltip | typeof target | typeof tooltip | typeof weight | typeof xlabel | typeof xlp; /** * Attribute types available for nodes. */ export type Node = | typeof URL | typeof area | typeof color | typeof colorscheme | typeof comment | typeof distortion | typeof fillcolor | typeof fixedsize | typeof fontcolor | typeof fontname | typeof fontsize | typeof gradientangle | typeof group | typeof height | typeof href | typeof id | typeof image | typeof imagepos | typeof imagescale | typeof label | typeof labelloc | typeof layer | typeof margin | typeof nojustify | typeof ordering | typeof orientation | typeof penwidth | typeof peripheries | typeof pin | typeof pos | typeof rects | typeof regular | typeof root | typeof samplepoints | typeof shape | typeof shapefile | typeof showboxes | typeof sides | typeof skew | typeof sortv | typeof style | typeof target | typeof tooltip | typeof vertices | typeof width | typeof xlabel | typeof xlp | typeof z; /** * Attribute types available for root cluster. */ export type RootCluster = | typeof Damping | typeof K | typeof URL | typeof _background | typeof bb | typeof bgcolor | typeof center | typeof charset | typeof clusterrank | typeof colorscheme | typeof comment | typeof compound | typeof concentrate | typeof defaultdist | typeof dim | typeof dimen | typeof diredgeconstraints | typeof dpi | typeof epsilon | typeof esep | typeof fontcolor | typeof fontname | typeof fontnames | typeof fontpath | typeof fontsize | typeof forcelabels | typeof gradientangle | typeof href | typeof id | typeof imagepath | typeof inputscale | typeof label | typeof label_scheme | typeof labeljust | typeof labelloc | typeof landscape | typeof layerlistsep | typeof layers | typeof layerselect | typeof layersep | typeof layout | typeof levels | typeof levelsgap | typeof lheight | typeof lp | typeof lwidth | typeof margin | typeof maxiter | typeof mclimit | typeof mindist | typeof mode | typeof model | typeof mosek | typeof newrank | typeof nodesep | typeof nojustify | typeof normalize | typeof notranslate | typeof nslimit | typeof nslimit1 | typeof ordering | typeof orientation | typeof outputorder | typeof overlap | typeof overlap_scaling | typeof overlap_shrink | typeof pack | typeof packmode | typeof pad | typeof page | typeof pagedir | typeof quadtree | typeof quantum | typeof rankdir | typeof ranksep | typeof ratio | typeof remincross | typeof repulsiveforce | typeof resolution | typeof root | typeof rotate | typeof rotation | typeof scale | typeof searchsize | typeof sep | typeof showboxes | typeof size | typeof smoothing | typeof sortv | typeof splines | typeof start | typeof style | typeof stylesheet | typeof target | typeof truecolor | typeof viewport | typeof voro_margin | typeof xdotversion; /** * Attribute types available for subgraph. */ export type Subgraph = typeof rank; /** * Attribute types available for cluster subgraph. */ export type ClusterSubgraph = | typeof K | typeof URL | typeof area | typeof bgcolor | typeof color | typeof colorscheme | typeof fillcolor | typeof fontcolor | typeof fontname | typeof fontsize | typeof gradientangle | typeof href | typeof id | typeof label | typeof labeljust | typeof labelloc | typeof layer | typeof lheight | typeof lp | typeof lwidth | typeof margin | typeof nojustify | typeof pencolor | typeof penwidth | typeof peripheries | typeof sortv | typeof style | typeof target | typeof tooltip; /** * Attribute types. */ export type Attribute = | Node | Edge | RootCluster | Subgraph | ClusterSubgraph;}