Package | Description |
---|---|
<Unnamed> | |
jdg.graph | |
jdg.io |
Modifier and Type | Field and Description |
---|---|
AdjacencyListGraph |
PlanarLayout.g
Input graph to draw: no combinatorial embedding provided (only the 1-skeleton of the graph)
|
AdjacencyListGraph |
FR91Layout.g
Input graph to draw
|
AdjacencyListGraph |
GridLayout.g
Input graph to draw: no combinatorial embedding provided (only the 1-skeleton of the graph)
|
static AdjacencyListGraph |
SpringDrawing.inputGraph
input graph to draw
|
Constructor and Description |
---|
FR91Layout(AdjacencyListGraph g,
double w,
double h)
Initialize the parameters of the force-directed method, according to the original FR91 algorithm
|
GridLayout(AdjacencyListGraph g,
int bends)
Initialize the drawing: by the default all vertices are placed at the origin (0.0, 0.0)
|
PlanarLayout(AdjacencyListGraph g)
Initialize the drawing: by the default all vertices are placed at the origin (0.0, 0.0)
|
Modifier and Type | Method and Description |
---|---|
static AdjacencyListGraph |
GraphAlgorithms.extractComponent(AdjacencyListGraph g1,
int indexU,
AdjacencyListGraph g2)
Given two input graphs G1, G2 and a vertex U, extract a sub-graph from g2 as defined below
|
static AdjacencyListGraph |
GraphAlgorithms.extractSubGraph(AdjacencyListGraph g,
boolean[] vertexExists)
Given an input graph G, extract and return (a copy of) the induced sub-graph G', having a given sub-set of vertices
|
Modifier and Type | Method and Description |
---|---|
static AdjacencyListGraph |
GraphAlgorithms.extractComponent(AdjacencyListGraph g1,
int indexU,
AdjacencyListGraph g2)
Given two input graphs G1, G2 and a vertex U, extract a sub-graph from g2 as defined below
|
static AdjacencyListGraph |
GraphAlgorithms.extractSubGraph(AdjacencyListGraph g,
boolean[] vertexExists)
Given an input graph G, extract and return (a copy of) the induced sub-graph G', having a given sub-set of vertices
|
Modifier and Type | Method and Description |
---|---|
static AdjacencyListGraph |
GraphReader_MTX.read(java.lang.String filename)
Read a graph stored in MTX format
Remark: nodes have indices between 1..n
|