<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Proposal for graph readers in JGraphT</title>
	<atom:link href="http://beauty-of-code.de/2010/07/proposal-for-graph-readers-in-jgrapht/feed/" rel="self" type="application/rss+xml" />
	<link>http://beauty-of-code.de/2010/07/proposal-for-graph-readers-in-jgrapht/</link>
	<description>About code and visualisation</description>
	<lastBuildDate>Mon, 01 Aug 2011 17:42:09 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jens</title>
		<link>http://beauty-of-code.de/2010/07/proposal-for-graph-readers-in-jgrapht/comment-page-1/#comment-4405</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Sat, 21 Aug 2010 17:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://beauty-of-code.de/?p=169#comment-4405</guid>
		<description>Hi Muhammad,

Such questions are better asked in the mailing lists or sourceforge trackers of the JGraphT project (see http://jgrapht.org). A quick answer, though: in the latest trunk there is org.jgrapht.ext.ComponentAttributeProvider which could be used; another (and possibly preferred) solution is to use special classes for edges an vertices which store the attributes.</description>
		<content:encoded><![CDATA[<p>Hi Muhammad,</p>
<p>Such questions are better asked in the mailing lists or sourceforge trackers of the JGraphT project (see <a href="http://jgrapht.org)" rel="nofollow">http://jgrapht.org)</a>. A quick answer, though: in the latest trunk there is org.jgrapht.ext.ComponentAttributeProvider which could be used; another (and possibly preferred) solution is to use special classes for edges an vertices which store the attributes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Javed</title>
		<link>http://beauty-of-code.de/2010/07/proposal-for-graph-readers-in-jgrapht/comment-page-1/#comment-4388</link>
		<dc:creator>Muhammad Javed</dc:creator>
		<pubDate>Wed, 11 Aug 2010 10:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://beauty-of-code.de/?p=169#comment-4388</guid>
		<description>Hi, I am looking for a open source java lib for attributed graph representation. Can I have Edge and Vertex Attribution in JGraphT ? If yes, is there any place where i can find some sample codes for it. Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I am looking for a open source java lib for attributed graph representation. Can I have Edge and Vertex Attribution in JGraphT ? If yes, is there any place where i can find some sample codes for it. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sichi</title>
		<link>http://beauty-of-code.de/2010/07/proposal-for-graph-readers-in-jgrapht/comment-page-1/#comment-4285</link>
		<dc:creator>John Sichi</dc:creator>
		<pubDate>Sun, 11 Jul 2010 01:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://beauty-of-code.de/?p=169#comment-4285</guid>
		<description>Hi Jens,

This is John Sichi (perfecthash over at the jgrapht project).

I&#039;m glad you are working on this; it&#039;s a fairly frequent request from JGraphT users.

One suggestion I have is to take an optional Graph object as input (in addition to returning it as output).  This is what we do for the GraphGenerator interface.  The reason is that it allows the caller to choose the desired concrete graph implementation, which can be very useful when dealing with custom graph classes.  If appropriate, the reader can verify that the graph is empty to start with (but in some cases a reader could also be used to augment an existing graph, potentially attaching to existing vertices by reference).  And in your example where the graph type is declared in the file, then the reader can verify that the input graph (if supplied) matches.  If a graph is passed, then no edge factory is required since the graph already supplies its own.

We can edit the comments on ComponentAttributeProvider to indicate that when used with a reader, the returned map is read/write (rather than read-only as for a writer).

JVS</description>
		<content:encoded><![CDATA[<p>Hi Jens,</p>
<p>This is John Sichi (perfecthash over at the jgrapht project).</p>
<p>I&#8217;m glad you are working on this; it&#8217;s a fairly frequent request from JGraphT users.</p>
<p>One suggestion I have is to take an optional Graph object as input (in addition to returning it as output).  This is what we do for the GraphGenerator interface.  The reason is that it allows the caller to choose the desired concrete graph implementation, which can be very useful when dealing with custom graph classes.  If appropriate, the reader can verify that the graph is empty to start with (but in some cases a reader could also be used to augment an existing graph, potentially attaching to existing vertices by reference).  And in your example where the graph type is declared in the file, then the reader can verify that the input graph (if supplied) matches.  If a graph is passed, then no edge factory is required since the graph already supplies its own.</p>
<p>We can edit the comments on ComponentAttributeProvider to indicate that when used with a reader, the returned map is read/write (rather than read-only as for a writer).</p>
<p>JVS</p>
]]></content:encoded>
	</item>
</channel>
</rss>

