Packages
libgvc
Gvc
Graph
read
read_string
Graph
@get
@set
create_edge
create_node
create_subgraph
create_subgraph_id
delete_subgraph
find_edge
find_node
find_subgraph
get_first_node
get_first_subgraph
get_next_node
get_next_subgraph
get_parent_graph
is_directed
is_strict
safe_set
Graph
Object Hierarchy:
Gvc.Graph
Gvc.Graph
Gvc.Graph
Description:
[
Compact
]
[
CCode
( cname =
"Agraph_t"
, free_function =
"agclose"
) ]
public
class
Graph
Namespace:
Gvc
Package:
libgvc
Content:
Static methods:
public
static
Graph
read
(
FileStream
file)
public
static
Graph
read_string
(
string
str)
Creation methods:
public
Graph
(
string
graph_name,
GraphKind
kind)
Methods:
public
unowned
string
?
@get
(
string
attribute_name)
public
int
@set
(
string
attribute_name,
string
attribute_value)
public
unowned
Edge
create_edge
(
Node
from,
Node
to)
public
unowned
Node
create_node
(
string
node_name)
public
unowned
Graph
create_subgraph
(
string
? name)
public
unowned
Graph
create_subgraph_id
(
ulong
id)
public
int
delete_subgraph
(
Graph
subgraph)
public
unowned
Edge
?
find_edge
(
Node
from,
Node
tO)
public
unowned
Node
?
find_node
(
string
node_name)
public
unowned
Graph
?
find_subgraph
(
string
name)
public
unowned
Node
?
get_first_node
()
public
unowned
Graph
?
get_first_subgraph
()
public
unowned
Node
?
get_next_node
(
Node
node)
public
unowned
Graph
?
get_next_subgraph
()
public
unowned
Graph
?
get_parent_graph
()
public
bool
is_directed
()
public
bool
is_strict
()
public
int
safe_set
(
string
attribute_name,
string
attribute_value,
string
? default_value)