[{"data":1,"prerenderedAt":1676},["ShallowReactive",2],{"docs:\u002Freference\u002Fmarkers":3},{"id":4,"title":5,"body":6,"description":1667,"extension":1668,"meta":1669,"navigation":1671,"path":1672,"seo":1673,"stem":1674,"__hash__":1675},"docs\u002Freference\u002Fmarkers.md","Markers",{"type":7,"value":8,"toc":1661},"minimark",[9,13,30,36,77,82,100,737,742,745,823,862,868,918,924,1032,1036,1069,1072,1113,1116,1153,1156,1197,1202,1220,1239,1300,1304,1307,1558,1566,1637,1657],[10,11,5],"h1",{"id":12},"markers",[14,15,16,17,21,22,25,26,29],"p",{},"The ",[18,19,20],"code",{},"pydreamplet.markers"," module provides ",[18,23,24],{},"Marker",", a reusable SVG ",[18,27,28],{},"\u003Cmarker>","\nwrapper, plus predefined path data constants for arrows, ticks, and simple\nsymbols.",[14,31,32,33,35],{},"Markers are imported from ",[18,34,20],{},".",[37,38,43],"pre",{"className":39,"code":40,"language":41,"meta":42,"style":42},"language-python shiki shiki-themes material-theme-lighter github-light-high-contrast github-dark","from pydreamplet.markers import ARROW_BASIC, Marker\n","python","",[18,44,45],{"__ignoreMap":42},[46,47,50,54,58,61,64,67,71,74],"span",{"class":48,"line":49},"line",1,[46,51,53],{"class":52},"sED7I","from",[46,55,57],{"class":56},"soTeR"," pydreamplet",[46,59,35],{"class":60},"sVsmf",[46,62,63],{"class":56},"markers ",[46,65,66],{"class":52},"import",[46,68,70],{"class":69},"sXSbw"," ARROW_BASIC",[46,72,73],{"class":60},",",[46,75,76],{"class":56}," Marker\n",[78,79,81],"h2",{"id":80},"visual-example","Visual Example",[14,83,84,85,88,89,92,93,96,97,35],{},"Create markers inside ",[18,86,87],{},"Defs",", then reference them from a line or path with\n",[18,90,91],{},"marker_start",", ",[18,94,95],{},"marker_mid",", or ",[18,98,99],{},"marker_end",[37,101,103],{"className":39,"code":102,"language":41,"meta":42,"style":42},"import pydreamplet as dp\nfrom pydreamplet.markers import ARROW_BASIC, DOT, Marker\n\nsvg = dp.SVG(300, 130)\n\ndefs = dp.Defs()\narrow = Marker(\"arrow-head\", ARROW_BASIC, 10, 10, fill=\"#14b8a6\", orient=\"auto\")\ndot = Marker(\"dot-start\", DOT, 8, 8, fill=\"#f83898\")\ndefs.append(arrow, dot)\nsvg.append(defs)\n\nline = dp.Line(\n    38,\n    76,\n    252,\n    76,\n    stroke=\"currentColor\",\n    stroke_width=3,\n    stroke_linecap=\"round\",\n)\nline.marker_start = dot.url\nline.marker_end = arrow.url\n\nsvg.append(\n    line,\n    dp.Text(\"marker_start\", x=38, y=48, font_size=12, text_anchor=\"middle\", fill=\"currentColor\"),\n    dp.Text(\"marker_end\", x=252, y=48, font_size=12, text_anchor=\"middle\", fill=\"currentColor\"),\n    dp.Text(\"Marker(...).url\", x=92, y=108, font_size=12, fill=\"currentColor\"),\n)\n",[18,104,105,118,142,149,183,188,205,273,320,343,359,364,382,391,399,407,414,431,444,461,466,486,504,509,520,528,606,674,732],{"__ignoreMap":42},[46,106,107,109,112,115],{"class":48,"line":49},[46,108,66],{"class":52},[46,110,111],{"class":56}," pydreamplet ",[46,113,114],{"class":52},"as",[46,116,117],{"class":56}," dp\n",[46,119,121,123,125,127,129,131,133,135,138,140],{"class":48,"line":120},2,[46,122,53],{"class":52},[46,124,57],{"class":56},[46,126,35],{"class":60},[46,128,63],{"class":56},[46,130,66],{"class":52},[46,132,70],{"class":69},[46,134,73],{"class":60},[46,136,137],{"class":69}," DOT",[46,139,73],{"class":60},[46,141,76],{"class":56},[46,143,145],{"class":48,"line":144},3,[46,146,148],{"emptyLinePlaceholder":147},true,"\n",[46,150,152,155,159,162,164,168,171,175,177,180],{"class":48,"line":151},4,[46,153,154],{"class":56},"svg ",[46,156,158],{"class":157},"sWKEy","=",[46,160,161],{"class":56}," dp",[46,163,35],{"class":60},[46,165,167],{"class":166},"sAK04","SVG",[46,169,170],{"class":60},"(",[46,172,174],{"class":173},"sNpir","300",[46,176,73],{"class":60},[46,178,179],{"class":173}," 130",[46,181,182],{"class":60},")\n",[46,184,186],{"class":48,"line":185},5,[46,187,148],{"emptyLinePlaceholder":147},[46,189,191,194,196,198,200,202],{"class":48,"line":190},6,[46,192,193],{"class":56},"defs ",[46,195,158],{"class":157},[46,197,161],{"class":56},[46,199,35],{"class":60},[46,201,87],{"class":166},[46,203,204],{"class":60},"()\n",[46,206,208,211,213,216,218,222,226,228,230,233,235,238,240,242,244,248,250,252,255,257,259,262,264,266,269,271],{"class":48,"line":207},7,[46,209,210],{"class":56},"arrow ",[46,212,158],{"class":157},[46,214,215],{"class":166}," Marker",[46,217,170],{"class":60},[46,219,221],{"class":220},"sqo_7","\"",[46,223,225],{"class":224},"s_jvP","arrow-head",[46,227,221],{"class":220},[46,229,73],{"class":60},[46,231,70],{"class":232},"sBTIf",[46,234,73],{"class":60},[46,236,237],{"class":173}," 10",[46,239,73],{"class":60},[46,241,237],{"class":173},[46,243,73],{"class":60},[46,245,247],{"class":246},"sYEV4"," fill",[46,249,158],{"class":157},[46,251,221],{"class":220},[46,253,254],{"class":224},"#14b8a6",[46,256,221],{"class":220},[46,258,73],{"class":60},[46,260,261],{"class":246}," orient",[46,263,158],{"class":157},[46,265,221],{"class":220},[46,267,268],{"class":224},"auto",[46,270,221],{"class":220},[46,272,182],{"class":60},[46,274,276,279,281,283,285,287,290,292,294,296,298,301,303,305,307,309,311,313,316,318],{"class":48,"line":275},8,[46,277,278],{"class":56},"dot ",[46,280,158],{"class":157},[46,282,215],{"class":166},[46,284,170],{"class":60},[46,286,221],{"class":220},[46,288,289],{"class":224},"dot-start",[46,291,221],{"class":220},[46,293,73],{"class":60},[46,295,137],{"class":232},[46,297,73],{"class":60},[46,299,300],{"class":173}," 8",[46,302,73],{"class":60},[46,304,300],{"class":173},[46,306,73],{"class":60},[46,308,247],{"class":246},[46,310,158],{"class":157},[46,312,221],{"class":220},[46,314,315],{"class":224},"#f83898",[46,317,221],{"class":220},[46,319,182],{"class":60},[46,321,323,326,328,331,333,336,338,341],{"class":48,"line":322},9,[46,324,325],{"class":56},"defs",[46,327,35],{"class":60},[46,329,330],{"class":166},"append",[46,332,170],{"class":60},[46,334,335],{"class":166},"arrow",[46,337,73],{"class":60},[46,339,340],{"class":166}," dot",[46,342,182],{"class":60},[46,344,346,349,351,353,355,357],{"class":48,"line":345},10,[46,347,348],{"class":56},"svg",[46,350,35],{"class":60},[46,352,330],{"class":166},[46,354,170],{"class":60},[46,356,325],{"class":166},[46,358,182],{"class":60},[46,360,362],{"class":48,"line":361},11,[46,363,148],{"emptyLinePlaceholder":147},[46,365,367,370,372,374,376,379],{"class":48,"line":366},12,[46,368,369],{"class":56},"line ",[46,371,158],{"class":157},[46,373,161],{"class":56},[46,375,35],{"class":60},[46,377,378],{"class":166},"Line",[46,380,381],{"class":60},"(\n",[46,383,385,388],{"class":48,"line":384},13,[46,386,387],{"class":173},"    38",[46,389,390],{"class":60},",\n",[46,392,394,397],{"class":48,"line":393},14,[46,395,396],{"class":173},"    76",[46,398,390],{"class":60},[46,400,402,405],{"class":48,"line":401},15,[46,403,404],{"class":173},"    252",[46,406,390],{"class":60},[46,408,410,412],{"class":48,"line":409},16,[46,411,396],{"class":173},[46,413,390],{"class":60},[46,415,417,420,422,424,427,429],{"class":48,"line":416},17,[46,418,419],{"class":246},"    stroke",[46,421,158],{"class":157},[46,423,221],{"class":220},[46,425,426],{"class":224},"currentColor",[46,428,221],{"class":220},[46,430,390],{"class":60},[46,432,434,437,439,442],{"class":48,"line":433},18,[46,435,436],{"class":246},"    stroke_width",[46,438,158],{"class":157},[46,440,441],{"class":173},"3",[46,443,390],{"class":60},[46,445,447,450,452,454,457,459],{"class":48,"line":446},19,[46,448,449],{"class":246},"    stroke_linecap",[46,451,158],{"class":157},[46,453,221],{"class":220},[46,455,456],{"class":224},"round",[46,458,221],{"class":220},[46,460,390],{"class":60},[46,462,464],{"class":48,"line":463},20,[46,465,182],{"class":60},[46,467,469,471,473,476,479,481,483],{"class":48,"line":468},21,[46,470,48],{"class":56},[46,472,35],{"class":60},[46,474,91],{"class":475},"sm80-",[46,477,478],{"class":157}," =",[46,480,340],{"class":56},[46,482,35],{"class":60},[46,484,485],{"class":475},"url\n",[46,487,489,491,493,495,497,500,502],{"class":48,"line":488},22,[46,490,48],{"class":56},[46,492,35],{"class":60},[46,494,99],{"class":475},[46,496,478],{"class":157},[46,498,499],{"class":56}," arrow",[46,501,35],{"class":60},[46,503,485],{"class":475},[46,505,507],{"class":48,"line":506},23,[46,508,148],{"emptyLinePlaceholder":147},[46,510,512,514,516,518],{"class":48,"line":511},24,[46,513,348],{"class":56},[46,515,35],{"class":60},[46,517,330],{"class":166},[46,519,381],{"class":60},[46,521,523,526],{"class":48,"line":522},25,[46,524,525],{"class":166},"    line",[46,527,390],{"class":60},[46,529,531,534,536,539,541,543,545,547,549,552,554,557,559,562,564,567,569,572,574,577,579,582,584,586,589,591,593,595,597,599,601,603],{"class":48,"line":530},26,[46,532,533],{"class":166},"    dp",[46,535,35],{"class":60},[46,537,538],{"class":166},"Text",[46,540,170],{"class":60},[46,542,221],{"class":220},[46,544,91],{"class":224},[46,546,221],{"class":220},[46,548,73],{"class":60},[46,550,551],{"class":246}," x",[46,553,158],{"class":157},[46,555,556],{"class":173},"38",[46,558,73],{"class":60},[46,560,561],{"class":246}," y",[46,563,158],{"class":157},[46,565,566],{"class":173},"48",[46,568,73],{"class":60},[46,570,571],{"class":246}," font_size",[46,573,158],{"class":157},[46,575,576],{"class":173},"12",[46,578,73],{"class":60},[46,580,581],{"class":246}," text_anchor",[46,583,158],{"class":157},[46,585,221],{"class":220},[46,587,588],{"class":224},"middle",[46,590,221],{"class":220},[46,592,73],{"class":60},[46,594,247],{"class":246},[46,596,158],{"class":157},[46,598,221],{"class":220},[46,600,426],{"class":224},[46,602,221],{"class":220},[46,604,605],{"class":60},"),\n",[46,607,609,611,613,615,617,619,621,623,625,627,629,632,634,636,638,640,642,644,646,648,650,652,654,656,658,660,662,664,666,668,670,672],{"class":48,"line":608},27,[46,610,533],{"class":166},[46,612,35],{"class":60},[46,614,538],{"class":166},[46,616,170],{"class":60},[46,618,221],{"class":220},[46,620,99],{"class":224},[46,622,221],{"class":220},[46,624,73],{"class":60},[46,626,551],{"class":246},[46,628,158],{"class":157},[46,630,631],{"class":173},"252",[46,633,73],{"class":60},[46,635,561],{"class":246},[46,637,158],{"class":157},[46,639,566],{"class":173},[46,641,73],{"class":60},[46,643,571],{"class":246},[46,645,158],{"class":157},[46,647,576],{"class":173},[46,649,73],{"class":60},[46,651,581],{"class":246},[46,653,158],{"class":157},[46,655,221],{"class":220},[46,657,588],{"class":224},[46,659,221],{"class":220},[46,661,73],{"class":60},[46,663,247],{"class":246},[46,665,158],{"class":157},[46,667,221],{"class":220},[46,669,426],{"class":224},[46,671,221],{"class":220},[46,673,605],{"class":60},[46,675,677,679,681,683,685,687,690,692,694,696,698,701,703,705,707,710,712,714,716,718,720,722,724,726,728,730],{"class":48,"line":676},28,[46,678,533],{"class":166},[46,680,35],{"class":60},[46,682,538],{"class":166},[46,684,170],{"class":60},[46,686,221],{"class":220},[46,688,689],{"class":224},"Marker(...).url",[46,691,221],{"class":220},[46,693,73],{"class":60},[46,695,551],{"class":246},[46,697,158],{"class":157},[46,699,700],{"class":173},"92",[46,702,73],{"class":60},[46,704,561],{"class":246},[46,706,158],{"class":157},[46,708,709],{"class":173},"108",[46,711,73],{"class":60},[46,713,571],{"class":246},[46,715,158],{"class":157},[46,717,576],{"class":173},[46,719,73],{"class":60},[46,721,247],{"class":246},[46,723,158],{"class":157},[46,725,221],{"class":220},[46,727,426],{"class":224},[46,729,221],{"class":220},[46,731,605],{"class":60},[46,733,735],{"class":48,"line":734},29,[46,736,182],{"class":60},[738,739],"svg-preview",{"alt":740,"src":741},"A line with a dot marker at the start and an arrow marker at the end.","\u002Fshowcase\u002Fref_markers_line.svg",[78,743,24],{"id":744},"marker",[37,746,748],{"className":39,"code":747,"language":41,"meta":42,"style":42},"Marker(\n    id: str,\n    d: str,\n    width: Real,\n    height: Real,\n    **kwargs: Any,\n)\n",[18,749,750,756,770,781,793,804,819],{"__ignoreMap":42},[46,751,752,754],{"class":48,"line":49},[46,753,24],{"class":166},[46,755,381],{"class":60},[46,757,758,761,764,768],{"class":48,"line":120},[46,759,760],{"class":232},"    id",[46,762,763],{"class":60},":",[46,765,767],{"class":766},"s-tzF"," str",[46,769,390],{"class":60},[46,771,772,775,777,779],{"class":48,"line":144},[46,773,774],{"class":166},"    d",[46,776,763],{"class":60},[46,778,767],{"class":766},[46,780,390],{"class":60},[46,782,783,786,788,791],{"class":48,"line":151},[46,784,785],{"class":166},"    width",[46,787,763],{"class":60},[46,789,790],{"class":166}," Real",[46,792,390],{"class":60},[46,794,795,798,800,802],{"class":48,"line":185},[46,796,797],{"class":166},"    height",[46,799,763],{"class":60},[46,801,790],{"class":166},[46,803,390],{"class":60},[46,805,806,809,812,814,817],{"class":48,"line":190},[46,807,808],{"class":157},"    **",[46,810,811],{"class":166},"kwargs",[46,813,763],{"class":60},[46,815,816],{"class":166}," Any",[46,818,390],{"class":60},[46,820,821],{"class":48,"line":207},[46,822,182],{"class":60},[14,824,825,827,828,830,831,92,834,390,837,92,840,92,843,92,846,849,850,853,854,857,858,861],{},[18,826,24],{}," creates a ",[18,829,28],{}," element with ",[18,832,833],{},"id",[18,835,836],{},"markerWidth",[18,838,839],{},"markerHeight",[18,841,842],{},"viewBox=\"0 0 10 10\"",[18,844,845],{},"refX",[18,847,848],{},"refY",", and ",[18,851,852],{},"orient"," attributes.\nIt also creates one nested ",[18,855,856],{},"Path"," whose ",[18,859,860],{},"d"," is the supplied marker shape.",[14,863,864,865,867],{},"Supported ",[18,866,811],{}," include:",[869,870,871,880,886,893,902,910],"ul",{},[872,873,874,876,877],"li",{},[18,875,845],{},", default ",[18,878,879],{},"\"5\"",[872,881,882,876,884],{},[18,883,848],{},[18,885,879],{},[872,887,888,876,890],{},[18,889,852],{},[18,891,892],{},"\"0\"",[872,894,895,876,898,901],{},[18,896,897],{},"fill",[18,899,900],{},"\"#000000\""," for the nested marker path",[872,903,904,876,907,901],{},[18,905,906],{},"stroke",[18,908,909],{},"\"none\"",[872,911,912,876,915,901],{},[18,913,914],{},"stroke-width",[18,916,917],{},"\"1\"",[14,919,920,921,923],{},"Because ",[18,922,914],{}," is not a valid Python keyword, pass it with dictionary\nexpansion when constructing a marker.",[37,925,927],{"className":39,"code":926,"language":41,"meta":42,"style":42},"marker = Marker(\n    \"outlined-arrow\",\n    ARROW_BASIC,\n    10,\n    10,\n    fill=\"none\",\n    stroke=\"currentColor\",\n    **{\"stroke-width\": \"1.5\"},\n)\n",[18,928,929,940,952,959,966,972,988,1002,1028],{"__ignoreMap":42},[46,930,931,934,936,938],{"class":48,"line":49},[46,932,933],{"class":56},"marker ",[46,935,158],{"class":157},[46,937,215],{"class":166},[46,939,381],{"class":60},[46,941,942,945,948,950],{"class":48,"line":120},[46,943,944],{"class":220},"    \"",[46,946,947],{"class":224},"outlined-arrow",[46,949,221],{"class":220},[46,951,390],{"class":60},[46,953,954,957],{"class":48,"line":144},[46,955,956],{"class":232},"    ARROW_BASIC",[46,958,390],{"class":60},[46,960,961,964],{"class":48,"line":151},[46,962,963],{"class":173},"    10",[46,965,390],{"class":60},[46,967,968,970],{"class":48,"line":185},[46,969,963],{"class":173},[46,971,390],{"class":60},[46,973,974,977,979,981,984,986],{"class":48,"line":190},[46,975,976],{"class":246},"    fill",[46,978,158],{"class":157},[46,980,221],{"class":220},[46,982,983],{"class":224},"none",[46,985,221],{"class":220},[46,987,390],{"class":60},[46,989,990,992,994,996,998,1000],{"class":48,"line":207},[46,991,419],{"class":246},[46,993,158],{"class":157},[46,995,221],{"class":220},[46,997,426],{"class":224},[46,999,221],{"class":220},[46,1001,390],{"class":60},[46,1003,1004,1006,1009,1011,1013,1015,1017,1020,1023,1025],{"class":48,"line":275},[46,1005,808],{"class":157},[46,1007,1008],{"class":60},"{",[46,1010,221],{"class":220},[46,1012,914],{"class":224},[46,1014,221],{"class":220},[46,1016,763],{"class":60},[46,1018,1019],{"class":220}," \"",[46,1021,1022],{"class":224},"1.5",[46,1024,221],{"class":220},[46,1026,1027],{"class":60},"},\n",[46,1029,1030],{"class":48,"line":322},[46,1031,182],{"class":60},[78,1033,1035],{"id":1034},"properties","Properties",[37,1037,1039],{"className":39,"code":1038,"language":41,"meta":42,"style":42},"marker.d -> str\nmarker.d = ARROW_CONVEX\n",[18,1040,1041,1056],{"__ignoreMap":42},[46,1042,1043,1045,1047,1049,1053],{"class":48,"line":49},[46,1044,744],{"class":56},[46,1046,35],{"class":60},[46,1048,860],{"class":475},[46,1050,1052],{"class":1051},"str-j"," ->",[46,1054,1055],{"class":766}," str\n",[46,1057,1058,1060,1062,1064,1066],{"class":48,"line":120},[46,1059,744],{"class":56},[46,1061,35],{"class":60},[46,1063,860],{"class":475},[46,1065,478],{"class":157},[46,1067,1068],{"class":69}," ARROW_CONVEX\n",[14,1070,1071],{},"Gets or replaces the nested marker path data.",[37,1073,1075],{"className":39,"code":1074,"language":41,"meta":42,"style":42},"marker.fill -> str | None\nmarker.fill = \"#14b8a6\"\n",[18,1076,1077,1096],{"__ignoreMap":42},[46,1078,1079,1081,1083,1085,1087,1089,1092],{"class":48,"line":49},[46,1080,744],{"class":56},[46,1082,35],{"class":60},[46,1084,897],{"class":475},[46,1086,1052],{"class":1051},[46,1088,767],{"class":766},[46,1090,1091],{"class":157}," |",[46,1093,1095],{"class":1094},"sTy78"," None\n",[46,1097,1098,1100,1102,1104,1106,1108,1110],{"class":48,"line":120},[46,1099,744],{"class":56},[46,1101,35],{"class":60},[46,1103,897],{"class":475},[46,1105,478],{"class":157},[46,1107,1019],{"class":220},[46,1109,254],{"class":224},[46,1111,1112],{"class":220},"\"\n",[14,1114,1115],{},"Gets or sets the nested path fill.",[37,1117,1119],{"className":39,"code":1118,"language":41,"meta":42,"style":42},"marker.stroke -> str | None\nmarker.stroke = \"currentColor\"\n",[18,1120,1121,1137],{"__ignoreMap":42},[46,1122,1123,1125,1127,1129,1131,1133,1135],{"class":48,"line":49},[46,1124,744],{"class":56},[46,1126,35],{"class":60},[46,1128,906],{"class":475},[46,1130,1052],{"class":1051},[46,1132,767],{"class":766},[46,1134,1091],{"class":157},[46,1136,1095],{"class":1094},[46,1138,1139,1141,1143,1145,1147,1149,1151],{"class":48,"line":120},[46,1140,744],{"class":56},[46,1142,35],{"class":60},[46,1144,906],{"class":475},[46,1146,478],{"class":157},[46,1148,1019],{"class":220},[46,1150,426],{"class":224},[46,1152,1112],{"class":220},[14,1154,1155],{},"Gets or sets the nested path stroke.",[37,1157,1159],{"className":39,"code":1158,"language":41,"meta":42,"style":42},"marker.stroke_width -> Real | None\nmarker.stroke_width = \"2\"\n",[18,1160,1161,1180],{"__ignoreMap":42},[46,1162,1163,1165,1167,1170,1172,1175,1178],{"class":48,"line":49},[46,1164,744],{"class":56},[46,1166,35],{"class":60},[46,1168,1169],{"class":475},"stroke_width",[46,1171,1052],{"class":1051},[46,1173,1174],{"class":56}," Real ",[46,1176,1177],{"class":157},"|",[46,1179,1095],{"class":1094},[46,1181,1182,1184,1186,1188,1190,1192,1195],{"class":48,"line":120},[46,1183,744],{"class":56},[46,1185,35],{"class":60},[46,1187,1169],{"class":475},[46,1189,478],{"class":157},[46,1191,1019],{"class":220},[46,1193,1194],{"class":224},"2",[46,1196,1112],{"class":220},[14,1198,1199,1200,35],{},"Gets or sets the nested path stroke width. The getter returns the parsed numeric\nvalue from the underlying ",[18,1201,856],{},[37,1203,1205],{"className":39,"code":1204,"language":41,"meta":42,"style":42},"marker.url -> str\n",[18,1206,1207],{"__ignoreMap":42},[46,1208,1209,1211,1213,1216,1218],{"class":48,"line":49},[46,1210,744],{"class":56},[46,1212,35],{"class":60},[46,1214,1215],{"class":475},"url",[46,1217,1052],{"class":1051},[46,1219,1055],{"class":766},[14,1221,1222,1223,1226,1227,92,1229,1231,1232,1234,1235,1238],{},"Returns ",[18,1224,1225],{},"url(#\u003Cid>)",", suitable for assigning to ",[18,1228,91],{},[18,1230,95],{},", or\n",[18,1233,99],{},". The older ",[18,1236,1237],{},"id_ref"," property remains available as an alias.",[37,1240,1242],{"className":39,"code":1241,"language":41,"meta":42,"style":42},"marker = Marker(\"arrow\", ARROW_BASIC, 10, 10)\n\nassert marker.url == \"url(#arrow)\"\n",[18,1243,1244,1274,1278],{"__ignoreMap":42},[46,1245,1246,1248,1250,1252,1254,1256,1258,1260,1262,1264,1266,1268,1270,1272],{"class":48,"line":49},[46,1247,933],{"class":56},[46,1249,158],{"class":157},[46,1251,215],{"class":166},[46,1253,170],{"class":60},[46,1255,221],{"class":220},[46,1257,335],{"class":224},[46,1259,221],{"class":220},[46,1261,73],{"class":60},[46,1263,70],{"class":232},[46,1265,73],{"class":60},[46,1267,237],{"class":173},[46,1269,73],{"class":60},[46,1271,237],{"class":173},[46,1273,182],{"class":60},[46,1275,1276],{"class":48,"line":120},[46,1277,148],{"emptyLinePlaceholder":147},[46,1279,1280,1283,1286,1288,1290,1293,1295,1298],{"class":48,"line":144},[46,1281,1282],{"class":52},"assert",[46,1284,1285],{"class":56}," marker",[46,1287,35],{"class":60},[46,1289,1215],{"class":475},[46,1291,1292],{"class":157}," ==",[46,1294,1019],{"class":220},[46,1296,1297],{"class":224},"url(#arrow)",[46,1299,1112],{"class":220},[78,1301,1303],{"id":1302},"predefined-paths","Predefined Paths",[14,1305,1306],{},"The module exports these path data constants:",[1308,1309,1310,1311,1310,1326],"table",{},"\n  ",[1312,1313,1314,1315,1310],"thead",{},"\n    ",[1316,1317,1318,1319,1318,1323,1314],"tr",{},"\n      ",[1320,1321,1322],"th",{},"Name",[1320,1324,1325],{},"Shape",[1327,1328,1314,1329,1314,1348,1314,1363,1314,1378,1314,1393,1314,1408,1314,1423,1314,1438,1314,1453,1314,1468,1314,1483,1314,1498,1314,1513,1314,1528,1314,1543,1310],"tbody",{},[1316,1330,1318,1331,1318,1337,1314],{},[1332,1333,1334],"td",{},[18,1335,1336],{},"ARROW",[1332,1338,1339],{},[348,1340,1344],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1343},"32","0 0 10 10","ARROW marker shape",[1345,1346],"path",{"d":1347,"fill":426},"M2.499 5 L1.565 1.7 L8.435 5 L1.565 8.3 Z",[1316,1349,1318,1350,1318,1355,1314],{},[1332,1351,1352],{},[18,1353,1354],{},"ARROW_BASIC",[1332,1356,1357],{},[348,1358,1360],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1359},"ARROW_BASIC marker shape",[1345,1361],{"d":1362,"fill":426},"M0 1.91 10 5 0 8.09V1.91Z",[1316,1364,1318,1365,1318,1370,1314],{},[1332,1366,1367],{},[18,1368,1369],{},"ARROW_CONCAVE",[1332,1371,1372],{},[348,1373,1375],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1374},"ARROW_CONCAVE marker shape",[1345,1376],{"d":1377,"fill":426},"M0 8.09a22.48 22.48 0 0 0 0-6.18C2.862 3.396 6.241 4.382 10 5c-3.759.618-7.138 1.604-10 3.09Z",[1316,1379,1318,1380,1318,1385,1314],{},[1332,1381,1382],{},[18,1383,1384],{},"ARROW_CONVEX",[1332,1386,1387],{},[348,1388,1390],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1389},"ARROW_CONVEX marker shape",[1345,1391],{"d":1392,"fill":426},"M.505 5 0 1.91C1.453 1.908 6.391 2.989 10 5 6.391 7.011 1.453 8.092 0 8.09L.505 5Z",[1316,1394,1318,1395,1318,1400,1314],{},[1332,1396,1397],{},[18,1398,1399],{},"ARROW_SIMPLE",[1332,1401,1402],{},[348,1403,1405],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1404},"ARROW_SIMPLE marker shape",[1345,1406],{"d":1407,"fill":426},"M3.596 5 .768 2.172 2.182.757 6.424 5 2.182 9.243.768 7.828 3.596 5Z",[1316,1409,1318,1410,1318,1415,1314],{},[1332,1411,1412],{},[18,1413,1414],{},"CROSS",[1332,1416,1417],{},[348,1418,1420],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1419},"CROSS marker shape",[1345,1421],{"d":1422,"fill":426},"M1.667 3.333L3.333 1.667L5 3.333L6.667 1.667L8.333 3.333L6.667 5L8.333 6.667L6.667 8.333L5 6.667L3.333 8.333L1.667 6.667L3.333 5L1.667 3.333Z",[1316,1424,1318,1425,1318,1430,1314],{},[1332,1426,1427],{},[18,1428,1429],{},"DIAMOND",[1332,1431,1432],{},[348,1433,1435],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1434},"DIAMOND marker shape",[1345,1436],{"d":1437,"fill":426},"M5 1.91 8.09 5 5 8.09 1.91 5 5 1.91Z",[1316,1439,1318,1440,1318,1445,1314],{},[1332,1441,1442],{},[18,1443,1444],{},"DOT",[1332,1446,1447],{},[348,1448,1450],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1449},"DOT marker shape",[1345,1451],{"d":1452,"fill":426},"M 9.09 5 A 4.09 4.09 0 1 0 0.91 5 A 4.09 4.09 0 1 0 9.09 5 Z",[1316,1454,1318,1455,1318,1460,1314],{},[1332,1456,1457],{},[18,1458,1459],{},"SQUARE",[1332,1461,1462],{},[348,1463,1465],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1464},"SQUARE marker shape",[1345,1466],{"d":1467,"fill":426},"M1.91 1.91h6.18v6.18H1.91z",[1316,1469,1318,1470,1318,1475,1314],{},[1332,1471,1472],{},[18,1473,1474],{},"TICK_BOTTOM",[1332,1476,1477],{},[348,1478,1480],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1479},"TICK_BOTTOM marker shape",[1345,1481],{"d":1482,"fill":426},"M4 5h2v5H4z",[1316,1484,1318,1485,1318,1490,1314],{},[1332,1486,1487],{},[18,1488,1489],{},"TICK_HORIZONTAL",[1332,1491,1492],{},[348,1493,1495],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1494},"TICK_HORIZONTAL marker shape",[1345,1496],{"d":1497,"fill":426},"M2.5 4h5v2h-5z",[1316,1499,1318,1500,1318,1505,1314],{},[1332,1501,1502],{},[18,1503,1504],{},"TICK_LEFT",[1332,1506,1507],{},[348,1508,1510],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1509},"TICK_LEFT marker shape",[1345,1511],{"d":1512,"fill":426},"M0 4h5v2H0z",[1316,1514,1318,1515,1318,1520,1314],{},[1332,1516,1517],{},[18,1518,1519],{},"TICK_RIGHT",[1332,1521,1522],{},[348,1523,1525],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1524},"TICK_RIGHT marker shape",[1345,1526],{"d":1527,"fill":426},"M5 4h5v2H5z",[1316,1529,1318,1530,1318,1535,1314],{},[1332,1531,1532],{},[18,1533,1534],{},"TICK_TOP",[1332,1536,1537],{},[348,1538,1540],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1539},"TICK_TOP marker shape",[1345,1541],{"d":1542,"fill":426},"M4 0h2v5H4z",[1316,1544,1318,1545,1318,1550,1314],{},[1332,1546,1547],{},[18,1548,1549],{},"TICK_VERTICAL",[1332,1551,1552],{},[348,1553,1555],{"width":566,"height":1341,"viewBox":1342,"ariaLabel":1554},"TICK_VERTICAL marker shape",[1345,1556],{"d":1557,"fill":426},"M4 2.5h2v5H4z",[14,1559,1560,1561,1563,1564,35],{},"Use them as the ",[18,1562,860],{}," argument for ",[18,1565,24],{},[37,1567,1569],{"className":39,"code":1568,"language":41,"meta":42,"style":42},"from pydreamplet.markers import ARROW_CONCAVE, Marker\n\nmarker = Marker(\"concave-arrow\", ARROW_CONCAVE, 10, 10, fill=\"#14b8a6\")\n",[18,1570,1571,1590,1594],{"__ignoreMap":42},[46,1572,1573,1575,1577,1579,1581,1583,1586,1588],{"class":48,"line":49},[46,1574,53],{"class":52},[46,1576,57],{"class":56},[46,1578,35],{"class":60},[46,1580,63],{"class":56},[46,1582,66],{"class":52},[46,1584,1585],{"class":69}," ARROW_CONCAVE",[46,1587,73],{"class":60},[46,1589,76],{"class":56},[46,1591,1592],{"class":48,"line":120},[46,1593,148],{"emptyLinePlaceholder":147},[46,1595,1596,1598,1600,1602,1604,1606,1609,1611,1613,1615,1617,1619,1621,1623,1625,1627,1629,1631,1633,1635],{"class":48,"line":144},[46,1597,933],{"class":56},[46,1599,158],{"class":157},[46,1601,215],{"class":166},[46,1603,170],{"class":60},[46,1605,221],{"class":220},[46,1607,1608],{"class":224},"concave-arrow",[46,1610,221],{"class":220},[46,1612,73],{"class":60},[46,1614,1585],{"class":232},[46,1616,73],{"class":60},[46,1618,237],{"class":173},[46,1620,73],{"class":60},[46,1622,237],{"class":173},[46,1624,73],{"class":60},[46,1626,247],{"class":246},[46,1628,158],{"class":157},[46,1630,221],{"class":220},[46,1632,254],{"class":224},[46,1634,221],{"class":220},[46,1636,182],{"class":60},[14,1638,1639,1641,1642,1645,1646,1649,1650,1653,1654,1656],{},[18,1640,24],{}," is registered for the ",[18,1643,1644],{},"\"marker\""," tag with ",[18,1647,1648],{},"SvgElement.register()",", so\nmarker elements found through ",[18,1651,1652],{},"SvgElement.find()"," are wrapped as ",[18,1655,24],{},"\ninstances when possible.",[1658,1659,1660],"style",{},"html pre.shiki code .sED7I, html code.shiki .sED7I{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#A0111F;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}html pre.shiki code .soTeR, html code.shiki .soTeR{--shiki-light:#90A4AE;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .sVsmf, html code.shiki .sVsmf{--shiki-light:#39ADB5;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .sXSbw, html code.shiki .sXSbw{--shiki-light:#90A4AE;--shiki-default:#023B95;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sWKEy, html code.shiki .sWKEy{--shiki-light:#39ADB5;--shiki-default:#A0111F;--shiki-dark:#F97583}html pre.shiki code .sAK04, html code.shiki .sAK04{--shiki-light:#6182B8;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .sNpir, html code.shiki .sNpir{--shiki-light:#F76D47;--shiki-default:#023B95;--shiki-dark:#79B8FF}html pre.shiki code .sqo_7, html code.shiki .sqo_7{--shiki-light:#39ADB5;--shiki-default:#032563;--shiki-dark:#9ECBFF}html pre.shiki code .s_jvP, html code.shiki .s_jvP{--shiki-light:#91B859;--shiki-default:#032563;--shiki-dark:#9ECBFF}html pre.shiki code .sBTIf, html code.shiki .sBTIf{--shiki-light:#6182B8;--shiki-default:#023B95;--shiki-dark:#79B8FF}html pre.shiki code .sYEV4, html code.shiki .sYEV4{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#702C00;--shiki-default-font-style:inherit;--shiki-dark:#FFAB70;--shiki-dark-font-style:inherit}html pre.shiki code .sm80-, html code.shiki .sm80-{--shiki-light:#E53935;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .s-tzF, html code.shiki .s-tzF{--shiki-light:#E2931D;--shiki-default:#023B95;--shiki-dark:#79B8FF}html pre.shiki code .str-j, html code.shiki .str-j{--shiki-light:#90A4AE;--shiki-light-font-style:inherit;--shiki-default:#6E011A;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic}html pre.shiki code .sTy78, html code.shiki .sTy78{--shiki-light:#39ADB5;--shiki-default:#023B95;--shiki-dark:#79B8FF}",{"title":42,"searchDepth":144,"depth":144,"links":1662},[1663,1664,1665,1666],{"id":80,"depth":120,"text":81},{"id":744,"depth":120,"text":24},{"id":1034,"depth":120,"text":1035},{"id":1302,"depth":120,"text":1303},"SVG marker definitions and predefined marker path constants.","md",{"category":1670},"reference",{"title":5},"\u002Freference\u002Fmarkers",{"title":5,"description":1667},"reference\u002Fmarkers","YV7Gd2qji5uXjjr_Id89dYiObIbMTPD76_JjVVLpnUE",1780692544481]