Re: RDF graph to SVG force-directed layout

"Martynas Jusevičius [email protected]" <[email protected]> Mon, 29 Mar 2021 08:49:23 -0000
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
--000000000000d2eb1e05bea8f3e8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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
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 [email protected] <
[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
> description of the tree structure.
>
> Michael Kay
> Saxonica
>
>
> > On 29 Mar 2021, at 01:34, Chris Papademetrious
> [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
> >
> >
> >
> >
>=20
>
>
--~----------------------------------------------------------------
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]
--~--

--000000000000d2eb1e05bea8f3e8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"auto">Hi,=C2=A0</div><div dir=3D"auto"><br></d=
iv><div dir=3D"auto">thanks for the suggestions. I=E2=80=99m not after a st=
andalone tool, I=E2=80=99m integrating graph layout into our UI which is XS=
LT-based rendering of RDF data, both server- and client-side.</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">&quot;By means of interactive XSLT ex=
tensions, it can deliver the rich user experience of a modern web applicati=
on without the need for low-level JavaScript coding.&quot; -- that&#39;s th=
e principle I&#39;m following and I want to push it to the limit. The next =
step would be making the graph interactive: selecting/moving nodes, expandi=
ng links, zooming etc. I think this is very much in the spirit of this list=
?</div><div dir=3D"auto"><br></div><div>I&#39;m aware of libraries such as =
d3.js and Ontodia, and am planning to fall back to them if this effort fail=
s.</div><div><br></div><div><br></div><div>Martynas</div><div><a href=3D"ht=
tp://atomgraph.com">atomgraph.com</a></div></div><div dir=3D"auto"><br></di=
v><div dir=3D"auto"><br></div><div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Mon, 29 Mar 2021 at 10.36, Michael Kay <a =
href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a> &=
lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex">We also used Graphviz for the s=
treamabililty diagrams in early drafts of XSLT 3.0, see for example<br>
<br>
<a href=3D"https://www.w3.org/TR/2010/WD-xslt-21-20100511/#streamability-ex=
amples" rel=3D"noreferrer" target=3D"_blank">https://www.w3.org/TR/2010/WD-=
xslt-21-20100511/#streamability-examples</a><br>
<br>
The graph was transformed to DotML vocabulary from a high-level XML descrip=
tion of the tree structure.<br>
<br>
Michael Kay<br>
Saxonica<br>
<br>
<br>
&gt; On 29 Mar 2021, at 01:34, Chris Papademetrious <a href=3D"mailto:chris=
[email protected]" target=3D"_blank">christopher.papademet=
[email protected]</a> &lt;<a href=3D"mailto:[email protected]=
ytech.com" target=3D"_blank">[email protected]</a>&gt=
; wrote:<br>
&gt; <br>
&gt; I use Graphviz for this stuff:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://graphviz.org/" rel=3D"nor=
eferrer" target=3D"_blank">https://graphviz.org/</a><br>
&gt; <br>
&gt; It&#39;s kind of on-topic because it takes an XML graph as input.<br>
&gt; <br>
&gt; - Chris<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
<br>
<br>
</blockquote></div></div>
<div><!-- begin bl.html.trailer -->
<div style=3D"border-top:1px solid black; background-color: #dddddd;
color: #888888; font-size: smaller; padding: 5px; text-align: center;
font-family: arial,verdana,arial,sans-serif; margin-top:1em; clear:
both; margin: auto">
<a href=3D"http://www.mulberrytech.com/xsl/xsl-list">
XSL-List info and archive</a>
<div style=3D"text-align:center;">
<a style=3D"color: blue;"
  href=3D"http://lists.mulberrytech.com/unsub/xsl-list/3329386"
>EasyUnsubscribe</a>
(<a style=3D"color: blue;"
href=3D"mailto:[email protected]?subject=3Dremove"
>by email</a>)
</div>
</div>
<!-- end bl.html.trailer --></div>

--000000000000d2eb1e05bea8f3e8--