This post is for those participants of #EL30 who like to play with graphs or/and with gRSShopper.
Without modifying my own tool yet, I was able to generate interactive maps like this http://mmelcher.org/x28map.html?epis.xml directly out of gRSShopper: with just two new tables, two new views and two pages.
<s cript src="h ttp://x28hd.de/demo/x28map.js"></s cript>
The content page loaded from there, epis.xml, is mainly in XML syntax (shown in blue) and looks like this:
<?xml version="1.0" encoding="UTF-8"?>
where the green <keyword> construct is gRSShopper syntax and will be replaced by contents of the two tables (nodes and edges), formatted with the following two views:
‘Topic’ is just another term for the node, which has an x and y coordinate on the map, a label, a detail field, a color, and an ID. The ID is also abused as a very initial value for the coordinates (they get 10 pixels apart by simply appending a ‘0’). The green [*x28table_column*] variables will be filled from the respective columns.
‘Assoc’iation is another term for the edge, which has two end nodes n1 and n2 (just like the original ‘graph’ table shipped with gRSShopper, has an ID ‘one’ and an ID ‘two’), plus a color, and here no details.
(If you like the demo data, here is more.)