[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •gexf4j
Page 1 of 1

gexf4j

Posted: 15 Aug 2012 11:09
by korhaga
Hi
I'm unsure where to post my questions, ignore, move or delete this thread if it's at a completely wrong place.
I'm combining crawler4j and gexf4j to create graphs of websites where nodes are pages and links are the edges.

Now to my questions:
- Why isn't it possible to create parallel edges? (Is this because it's not in the standard of gexf1.2, or because gephi doesn't support it? I couldn't find out)
- As I'm crawling a page, I need to connect the pages(nodes) with links(edges), the only way to add a new edge to the graph is by using Node.connectTo(String, Node), am I right? But sometimes it could be necessary to connect a node which doesn't exist by now (In my case when the target page isn't crawled yet, So I create dummy nodes which are later on filled with infos. Again that leads to another problem as it doesn't seem possible to me to easily get a node from the graph. Shouldn't there be something like Graph.getNodeById(id) ?)

I got around those problems by creating the according methods, and am willing to commit those to the repository, but would appreciate if the maintainer would have a look at it first. Or maybe it's like that by design and I don't understand it.

Regards

Re: gexf4j

Posted: 15 Aug 2012 11:26
by admin
Hi,

I advise you put your questions on the github issue tracker of gexf4j: https://github.com/francesco-ficarola/gexf4j

Re: gexf4j

Posted: 28 Nov 2012 05:22
by metapost
Did you get the answer? I also encountered same question, and I have to search the graph to get the node by its ID or lable.

I did't find the post on that link in github mentioned by following post, so I asked here again.