public enum EdgeDirection extends Enum<EdgeDirection>
An edge can either be directed or undirected. Each edge is configured with
this enum through EdgeDraft.setDirection(org.gephi.io.importer.api.EdgeDirection)
.
EdgeDraft
Enum Constant and Description |
---|
DIRECTED |
UNDIRECTED |
Modifier and Type | Method and Description |
---|---|
static EdgeDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeDirection DIRECTED
public static final EdgeDirection UNDIRECTED
public static EdgeDirection[] values()
for (EdgeDirection c : EdgeDirection.values()) System.out.println(c);
public static EdgeDirection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2017 Gephi Consortium. All rights reserved.