Graph is the wgraph/1 canonical representation of InGraph.
InGraph, can be either a wgraph or a csv file that has columns
'from', 'to' and 'weight'. The latter case needs pack(mtx).
When Graph is given, OutF is taken to be a file to store Graph in.
When Opts are given they can change the default column names of OutF.
name for from column
name for to column
name for weight column
to save wgraph in csv file, defaults to true if Stem is given
Display weighted graph Wgraph possibly from an existing layout that may include positions,
colours and labels. Wgraph should be in a form accepted by wgraph/3.
Layout (see below) should be an mtx/1 matrix with at least two columns: x, y defining
the positions of the nodes. In addition if columns: labels and colours are present but
not given in Opts they will be used.
Graph can be an mtx/1 matrix with at least 2 columns: from and to.
In addition column weight is also processed. When missing and no weights option
is given, all weights are set to 1.
= paired options are passed to the plotter call, see r_call/2
= (layout) colours column name
(layout) labels column name
(layout) column name for X position coordinate
(layout) column name for Y position coordinate
(graph) column name for From column
(graph) column name for To column
(graph) column name for edge weight
colours for the nodes - should be known to R
output format: pdf, x11 or none (as x11 without explicit <- x11() call).
when Plotter is ggnet2 then Frm can x11 or any file extension recognised by
your installation of ggsave().
labels(Lbs=[110, 111, 100, 101, 115])
labels for the nodes, __ for none, false for leaving it unset
layout R/qgraph function to use for getting x,y coordinates.
defaults to... which is only used if layout_mtx(LayM) is also missing
used if layout_call(LayG) is not present
if present an edge is added for every orphan from a medianed node with this weight
also known: igraph and ggnet2
to save the layout and graph, defaults to false if no stem is given
stem of the output file (def. replaces .csv to .pdf if LayM is a file- else wgraph_plot)
height of the plot device
width of the plot device
distance for vertex labels
size of nodes, can be prop(Min,Mult)- size being proportional to label length
Create and occupy R matrix Rmtx as the weighed adjacency
matrix of Wgraph (wgraph/1).
When present Nodes is used to define the shape and location of nodes in Rmtx.
Else the set of N1 and N2s in Wgraph is used (see wgraph_vertices/2).
Replace edges of cliques with central nodes from which edges eminate
to all present members. Non clique nodes that connect to all present
nodes point to the central node, else their connections are untouched.
Fired is a list of Clq-Set pairs, where Clq is a new node and Set is the
set of all nodes connecting to Clq.
either a Clique-Members list, or /2 predicate holding Member, Clique relations
i think this is min_pop_present actually
how many of the clique members have to be present for replace to take place
- nicos angelopoulos
- 0.1 2015/3/30
To be done
- complete(Comp) flag
- alternative implementations of replace_requires(RR) flag