[x3d-public] network nodes visualization, was Anchor description
Andreas Plesch
andreasplesch at gmail.com
Wed Jun 26 06:49:57 PDT 2024
Dear Vlado,
Congratulations on getting your article on network analysis published.
Let me share your github repo since it has many examples of the
generated X3D visualizations and the R generation code:
https://github.com/bavla/ibm3m
like this one:
http://vladowiki.fmf.uni-lj.si/doku.php?id=vlado:work:2m:mwn:x3d:ol16core
Thanks for considering x3d,
Andreas
On Tue, Jun 25, 2024 at 7:40 PM Batagelj, Vladimir
<vladimir.batagelj at fmf.uni-lj.si> wrote:
>
> Dear Andreas,
>
> Once again, thank you very much for your help.
> https://link.springer.com/article/10.1007/s13278-024-01283-0
>
> best regards, Vlado
>
> Vladimir Batagelj
>
>
> ________________________________
> From: Andreas Plesch <andreasplesch at gmail.com>
> Sent: Monday, January 16, 2023 12:49 AM
> To: Batagelj, Vladimir <vladimir.batagelj at fmf.uni-lj.si>
> Cc: x3dom-developers at lists.sourceforge.net <x3dom-developers at lists.sourceforge.net>
> Subject: Re: [x3dom-developers] Anchor description
>
> Hi Vlado,
>
> Super. Please feel free to share any interesting results, perhaps of
> networks, on x3dom-developers, x3dom-users or the x3d-public mailing
> lists.
>
> I added the description field value to the log output in the latest
> dev version, and fixed Anchor behaviour for empty urls as it is
> explicitly specified.
>
> You may be interested in the x3d python package
> (https://pypi.org/project/x3d/) which helps with generating conforming
> x3d output.
>
> Best regards, Andreas
>
> On Sun, Jan 15, 2023 at 6:04 PM Batagelj, Vladimir
> <vladimir.batagelj at fmf.uni-lj.si> wrote:
> >
> > Dear Andreas,
> >
> > thank you very much for your help. Your solution is what I was searching for.
> > Yes, it is a good idea to add the description to the log message.
> >
> > best regards, Vlado
> >
> > Vladimir Batagelj
> >
> >
> > ________________________________
> > From: Andreas Plesch <andreasplesch at gmail.com>
> > Sent: Sunday, January 15, 2023 5:51 AM
> > To: Batagelj, Vladimir <vladimir.batagelj at fmf.uni-lj.si>
> > Cc: x3dom-developers at lists.sourceforge.net <x3dom-developers at lists.sourceforge.net>
> > Subject: Re: [x3dom-developers] Anchor description
> >
> > Hi Vladimir,
> >
> > https://www.web3d.org/documents/specifications/19775-1/V4.0/index.html
> > has the standard specification of the Anchor node. It is mostly used
> > with an URL to load other content.
> >
> > How the description field is used varies from browser to browser.
> > x3dom shows a message in the debug log ("d" key) but it does not
> > currently include the description. It is probably a good idea to add
> > the description to the log message in an update.
> >
> > If you want to stay with an X3D only solution, you could use a
> > TouchSensor and route the description field to a Text node, in some
> > way.
> >
> > But it sounds like you are considering a javascript/HTML solution. You
> > would need to know a little bit about HTML/DOM and javascript.
> >
> > Ok, I put together a codepen which shows one way to listen to a click
> > event on an Anchor and then use the description on the web page:
> >
> > https://codepen.io/andreasplesch/pen/JjByYQa?editors=1000
> >
> > It follows more or less the example you found but without jquery and a
> > bit simpler. Take a look,
> >
> > Cheers, Andreas
> >
> > On Fri, Jan 13, 2023 at 8:55 PM Batagelj, Vladimir
> > <vladimir.batagelj at fmf.uni-lj.si> wrote:
> > >
> > > In my X3D files, I am using node <Anchor> with the attribute description. See the attached X3D file. This enables me in some X3D viewers to identify a node by pointing to it. In the viewer view3dscene (see the attached PNG) I pointed to the red node and obtained in the report window the corresponding description info "1: Fire".
> > >
> > > How can I achieve this in X3DOM ?
> > > The documentation https://doc.x3dom.org/author/Networking/Anchor.html says
> > >
> > > The description field in the Anchor node specifies a textual description of the Anchor node. This may be used by browser-specific user interfaces that wish to present users with more detailed information about the Anchor.
> > >
> > > I found an example, see https://doc.x3dom.org/tutorials/animationInteraction/picking/example.html, which is very close to the solution of my problem. I tried to adapt it without success.
> > >
> > > Can somebody help me to adapt this example or suggest some other approach?
> > >
> > > best,
> > >
> > > Vladimir Batagelj
> > >
> > >
> > > _______________________________________________
> > > x3dom-developers mailing list
> > > x3dom-developers at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/x3dom-developers
> >
> >
> >
> > --
> > Andreas Plesch
> > Waltham, MA 02453
>
>
>
> --
> Andreas Plesch
> Waltham, MA 02453
--
Andreas Plesch
Waltham, MA 02453
More information about the x3d-public
mailing list