xsl-list
[Top] [All Lists]

Re: [xsl] RDF graph to SVG force-directed layout

2021-04-04 05:19:40
I've now refactored force calculation using maps:
https://github.com/AtomGraph/Web-Client/blob/master/src/main/webapp/static/com/atomgraph/client/xsl/converters/RDFXML2SVG.xsl#L289

Further improvement suggestions are welcome.

On Mon, Mar 29, 2021 at 10:49 AM Martynas Jusevičius
martynas(_at_)atomgraph(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>
wrote:

Hi,

thanks for the suggestions. I’m not after a standalone tool, I’m integrating 
graph layout into our UI which is XSLT-based rendering of RDF data, both 
server- and client-side.

"By means of interactive XSLT extensions, it can deliver the rich user 
experience of a modern web application without the need for low-level 
JavaScript coding." -- that's the principle I'm following and I want to push 
it to the limit. The next step would be making the graph interactive: 
selecting/moving nodes, expanding links, zooming etc. I think this is very 
much in the spirit of this list?

I'm aware of libraries such as d3.js and Ontodia, and am planning to fall 
back to them if this effort fails.


Martynas
atomgraph.com



On Mon, 29 Mar 2021 at 10.36, Michael Kay mike(_at_)saxonica(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

We also used Graphviz for the streamabililty diagrams in early drafts of 
XSLT 3.0, see for example

https://www.w3.org/TR/2010/WD-xslt-21-20100511/#streamability-examples

The graph was transformed to DotML vocabulary from a high-level XML 
description of the tree structure.

Michael Kay
Saxonica


On 29 Mar 2021, at 01:34, Chris Papademetrious 
christopher(_dot_)papademetrious(_at_)synopsys(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

I use Graphviz for this stuff:

      https://graphviz.org/

It's kind of on-topic because it takes an XML graph as input.

- Chris






XSL-List info and archive
EasyUnsubscribe (by email)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [xsl] RDF graph to SVG force-directed layout, Martynas Jusevičius martynas@atomgraph.com <=