Files @ cbabe0bae003
Branch filter:

Location: Diana/src/diana/templ/templ-pleb.svg

Laman
changed tests imports
{% extends "templ.svg" %}

{% block style %}
rect{fill:{{bgcolor or "white"}};stroke:black;stroke-width:1px}
text{font-family:"DejaVu Sans";text-anchor:middle;}
line{stroke:black;stroke-width:0.7px}
circle{stroke:black}
circle.b, text.w, text.e{fill:black}
circle.w, text.b{fill:white}
circle.e {stroke:none;fill:white}
{% endblock %}

{% macro labeledPoint(p) %}
<g transform="translate({{(p.x*cellSize) | round(2)}},{{(p.y*cellSize) | round(2)}})">
	<circle class="{{p.color or 'e'}}" cx="0" cy="0" r="{{stoneRadius|round(2)}}"/>
	<text class="{{p.color or 'e'}}" y="0.35em" font-size="{{adjustFont(cellSize,p.label)}}">{{p.label}}</text>
</g>
{% endmacro %}