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

Subject: Re: [xsl] RDF graph to SVG force-directed layout
From: "Martynas Jusevičius martynas@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 4 Apr 2021 10:19:32 -0000
I've now refactored force calculation using maps:
https://github.com/AtomGraph/Web-Client/blob/master/src/main/webapp/static/co
m/atomgraph/client/xsl/converters/RDFXML2SVG.xsl#L289

Further improvement suggestions are welcome.

On Mon, Mar 29, 2021 at 10:49 AM Martynas JuseviD
ius
martynas@xxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
wrote:
>
> Hi,
>
> thanks for the suggestions. Ibm not after a standalone tool, Ibm
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@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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.papademetrious@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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)

Current Thread