Currently I am struggling with editing the nodes. I would like to insert line breaks to create something like the following:
data ={“name”=“firstname lastname \n
born xx.xx.xxxx in somecity \n
married yy.yy.yyyy in somewhere \n
died xx.xx.xxxx in samecity \n
some_additional_information”
}
This is very rough – you will probably have to play around more with the x and y attributes of the tspan to get the positioning / spacing right. And you’ll probably also have to adjust the font size to keep multiple elements from overlapping.
Here’s a quick fork – you can see that the parameters aren’t quite right yet:
Thank you so much! This is exactly what I was looking for.
Adjusting the parameters also depends on how much information will be available. Especially the later generations usually don’t provide much information.