Re: RDF graph to SVG force-directed layout

"Martynas Jusevičius [email protected]" <[email protected]> Sun, 4 Apr 2021 10:19:41 -0000
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
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=C4=8Dius
[email protected] <[email protected]>
wrote:
>
> Hi,
>
> thanks for the suggestions. I=E2=80=99m not after a standalone tool, I=E2=
=80=99m 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 ex=
perience of a modern web application without the need for low-level JavaScr=
ipt 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 th=
e 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 [email protected] <xsl-list-ser=
[email protected]> 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 desc=
ription of the tree structure.
>>
>> Michael Kay
>> Saxonica
>>
>>
>> > On 29 Mar 2021, at 01:34, Chris Papademetrious christopher.papademetri=
[email protected] <[email protected]> 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/3329386
or by email: [email protected]
--~--