GraphStream Users

Archives de la liste Aide

Re: directed graphs

Chronologique Discussions 
  • From: Nazario Irizarry <naz AT>
  • To: <graphstream-users AT>, Diane Mularz <mularz AT>
  • Subject: Re: directed graphs
  • Date: Thu, 27 Mar 2014 17:44:35 -0400

You specify that it is directed when you add the edge to the graph.  See the docs for
Graph.addEdge(String id, Node from,  Node to, boolean directed)
Graph.addEdge(String id, String from, String to, boolean directed)
Naz Irizarry
MITRE Corporation

On Mar 27, 2014, at 3:05 PM, Mularz, Diane E. <mularz AT> wrote:

I am struggling to figure out how to define a graph as directed.  I see that one can test whether an edge is directed but there doesn’t seem to be anyway to set that boolean.  HELP?
Diane Mularz
Systems Software Engineer
Performance Speciality
The MITRE Corporation
Modeling & Simulation Technical Center
7515 Colshire Dr.
McLean, VA 22102
No element should function merely as a vehicle to extricate oneself from the mire of indecision
Ring the bells that still can ring
Forget your perfect offering
There is a crack in everything
That’s how the light gets in
-          Leonard Cohen

  • directed graphs, Mularz, Diane E., 27/03/2014
    • <Suite(s) possible(s)>
    • Re: directed graphs, Nazario Irizarry, 27/03/2014

Archives gérées par MHonArc 2.6.16.

Top of page