You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by Gérard Dupont <ge...@gmail.com> on 2016/03/28 18:17:25 UTC
Neo4J interpreter - how to exploit json graph results
Hi guys,
I'm currently working (night & week-end not full time) on a neo4J
interpreter to try q=and test few things with zeppelin. For context : neo4j
is a graph database which is fun to work with.
So far, everything good and I managed to get json results in the notebook.
Next step would be to interpret the json graph data and create a nice
visualization. I was looking into InterpreterResult.Type.SVG but it doesn't
seems to work well. the alternative would be to generate HTML with embedded
javascript.
What's your advice on this: dive into SVG or switch to HTML5+js ?
cheers,
gdupont
Re: Neo4J interpreter - how to exploit json graph results
Posted by Gérard Dupont <ge...@gmail.com>.
Diving into the mail archive, I found this one :
https://mail-archives.apache.org/mod_mbox/incubator-zeppelin-dev/201508.mbox/%3CCABePtM0cu4SZSMJLq=steckAwuP3i_5X9XHjw4fMXTg4s5iK4Q@mail.gmail.com%3E
Followed the advice: using HTML interpreter type instead of SVG. It's
working (well I still need to work on formatting the SVG now).
Is there an issue with the SVG type?
On Mon, Mar 28, 2016 at 10:24 PM Gérard Dupont <ge...@gmail.com> wrote:
> Hi Eric,
> thx for the prompt answer. much appreciated.Simply said I tried to load a
> basic SVG sample from a static file as interpreter output, just to see how
> it behave (code sample http://pastebin.com/vaC0B3M5 )
>
> I got nothing in the notebook (no error, no rendering of the SVG). A new
> empty paragraph is created, but nothing in it and no output when playing it.
>
> Is there a unit test or a sample for using InterpreterResult.Type.SVG ?
>
> cheers,
> gdupont
>
> On Mon, Mar 28, 2016 at 7:19 PM Eric Charles <er...@apache.org> wrote:
>
>> I would go into SVG what you want to display can be achieved with SVG.
>> Can you share the issue you encounter?
>>
>> On 28/03/16 18:17, Gérard Dupont wrote:
>> > Hi guys,
>> > I'm currently working (night & week-end not full time) on a neo4J
>> > interpreter to try q=and test few things with zeppelin. For context :
>> neo4j
>> > is a graph database which is fun to work with.
>> >
>> > So far, everything good and I managed to get json results in the
>> notebook.
>> > Next step would be to interpret the json graph data and create a nice
>> > visualization. I was looking into InterpreterResult.Type.SVG but it
>> doesn't
>> > seems to work well. the alternative would be to generate HTML with
>> embedded
>> > javascript.
>> >
>> > What's your advice on this: dive into SVG or switch to HTML5+js ?
>> >
>> > cheers,
>> > gdupont
>> >
>>
>
Re: Neo4J interpreter - how to exploit json graph results
Posted by Gérard Dupont <ge...@gmail.com>.
Hi Eric,
thx for the prompt answer. much appreciated.Simply said I tried to load a
basic SVG sample from a static file as interpreter output, just to see how
it behave (code sample http://pastebin.com/vaC0B3M5 )
I got nothing in the notebook (no error, no rendering of the SVG). A new
empty paragraph is created, but nothing in it and no output when playing it.
Is there a unit test or a sample for using InterpreterResult.Type.SVG ?
cheers,
gdupont
On Mon, Mar 28, 2016 at 7:19 PM Eric Charles <er...@apache.org> wrote:
> I would go into SVG what you want to display can be achieved with SVG.
> Can you share the issue you encounter?
>
> On 28/03/16 18:17, Gérard Dupont wrote:
> > Hi guys,
> > I'm currently working (night & week-end not full time) on a neo4J
> > interpreter to try q=and test few things with zeppelin. For context :
> neo4j
> > is a graph database which is fun to work with.
> >
> > So far, everything good and I managed to get json results in the
> notebook.
> > Next step would be to interpret the json graph data and create a nice
> > visualization. I was looking into InterpreterResult.Type.SVG but it
> doesn't
> > seems to work well. the alternative would be to generate HTML with
> embedded
> > javascript.
> >
> > What's your advice on this: dive into SVG or switch to HTML5+js ?
> >
> > cheers,
> > gdupont
> >
>
Re: Neo4J interpreter - how to exploit json graph results
Posted by Eric Charles <er...@apache.org>.
I would go into SVG what you want to display can be achieved with SVG.
Can you share the issue you encounter?
On 28/03/16 18:17, Gérard Dupont wrote:
> Hi guys,
> I'm currently working (night & week-end not full time) on a neo4J
> interpreter to try q=and test few things with zeppelin. For context : neo4j
> is a graph database which is fun to work with.
>
> So far, everything good and I managed to get json results in the notebook.
> Next step would be to interpret the json graph data and create a nice
> visualization. I was looking into InterpreterResult.Type.SVG but it doesn't
> seems to work well. the alternative would be to generate HTML with embedded
> javascript.
>
> What's your advice on this: dive into SVG or switch to HTML5+js ?
>
> cheers,
> gdupont
>