Kappa-Dev / KappaTools

Tool suite for kappa models. Documentation and binaries can be found in the release section. Try it online at
http://kappalanguage.org/
GNU Lesser General Public License v3.0
110 stars 40 forks source link

Update render-contactmap.js #603

Closed hmedina closed 4 years ago

hmedina commented 5 years ago

Apply fix for #541 to site names (gSites) and state labels (gStates), not just to agent names (gNodes).

Use dominant-baseline="central" instead of alignment-baseline="middle"; although the alignment-baseline property can be applied to text objects, it has no effect on them (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/alignment-baseline)