subgraph
Graphviz > Graphviz data structures
Prev:edge
Next:graph


Vocabulary
graphviz

Class description
Represents a logical grouping of nodes and edges within a Graphviz graph. See http://graphviz.org/Documentation.php for more information.

Its structure is largely similar to graph, except subgraph only has two slots: id (a string) and statements (a sequence). The strict? and directed? slots of the parent graph are implicitly inherited by a subgraph.

id and statements correspond to the name and defining "body" of a subgraph in the DOT language, as in subgraph id { ... statements ... }.

In particular, statements should be a sequence containing only instances of:
subgraph
node
edge
graph-attributes
node-attributes
edge-attributes


See also
<subgraph>, <anon>, <cluster>

Definition
USING: strings ;

IN: graphviz

TUPLE: subgraph { id string initial: "" } statements ;


Methods
USING: graphviz graphviz.builder.private kernel ;

M: subgraph (build-alien) build-alien-subgraph drop ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =Damping
<graph-attributes> swap present >>Damping add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =K <graph-attributes> swap present >>K add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =URL <graph-attributes> swap present >>URL add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =aspect
<graph-attributes> swap present >>aspect add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =bb <graph-attributes> swap present >>bb add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =bgcolor
<graph-attributes> swap present >>bgcolor add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =center
<graph-attributes> swap present >>center add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =charset
<graph-attributes> swap present >>charset add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =clusterrank
<graph-attributes> swap present >>clusterrank add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =color
<graph-attributes> swap present >>color add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =colorscheme
<graph-attributes> swap present >>colorscheme add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =comment
<graph-attributes> swap present >>comment add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =compound
<graph-attributes> swap present >>compound add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =concentrate
<graph-attributes> swap present >>concentrate add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =defaultdist
<graph-attributes> swap present >>defaultdist add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =dim <graph-attributes> swap present >>dim add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =dimen
<graph-attributes> swap present >>dimen add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =diredgeconstraints
<graph-attributes> swap present >>diredgeconstraints add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =dpi <graph-attributes> swap present >>dpi add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =epsilon
<graph-attributes> swap present >>epsilon add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =esep <graph-attributes> swap present >>esep add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =fillcolor
<graph-attributes> swap present >>fillcolor add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =fontcolor
<graph-attributes> swap present >>fontcolor add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =fontname
<graph-attributes> swap present >>fontname add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =fontnames
<graph-attributes> swap present >>fontnames add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =fontpath
<graph-attributes> swap present >>fontpath add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =fontsize
<graph-attributes> swap present >>fontsize add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =id <graph-attributes> swap present >>id add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =label
<graph-attributes> swap present >>label add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =labeljust
<graph-attributes> swap present >>labeljust add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =labelloc
<graph-attributes> swap present >>labelloc add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =landscape
<graph-attributes> swap present >>landscape add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =layers
<graph-attributes> swap present >>layers add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =layersep
<graph-attributes> swap present >>layersep add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =layout
<graph-attributes> swap present >>layout add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =levels
<graph-attributes> swap present >>levels add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =levelsgap
<graph-attributes> swap present >>levelsgap add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =lheight
<graph-attributes> swap present >>lheight add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =lp <graph-attributes> swap present >>lp add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =lwidth
<graph-attributes> swap present >>lwidth add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =margin
<graph-attributes> swap present >>margin add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =maxiter
<graph-attributes> swap present >>maxiter add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =mclimit
<graph-attributes> swap present >>mclimit add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =mindist
<graph-attributes> swap present >>mindist add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =mode <graph-attributes> swap present >>mode add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =model
<graph-attributes> swap present >>model add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =mosek
<graph-attributes> swap present >>mosek add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =nodesep
<graph-attributes> swap present >>nodesep add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =nojustify
<graph-attributes> swap present >>nojustify add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =normalize
<graph-attributes> swap present >>normalize add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =nslimit
<graph-attributes> swap present >>nslimit add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =nslimit1
<graph-attributes> swap present >>nslimit1 add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =ordering
<graph-attributes> swap present >>ordering add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =orientation
<graph-attributes> swap present >>orientation add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =outputorder
<graph-attributes> swap present >>outputorder add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =overlap
<graph-attributes> swap present >>overlap add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =overlap_scaling
<graph-attributes> swap present >>overlap_scaling add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =pack <graph-attributes> swap present >>pack add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =packmode
<graph-attributes> swap present >>packmode add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =pad <graph-attributes> swap present >>pad add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =page <graph-attributes> swap present >>page add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =pagedir
<graph-attributes> swap present >>pagedir add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =pencolor
<graph-attributes> swap present >>pencolor add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =penwidth
<graph-attributes> swap present >>penwidth add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =peripheries
<graph-attributes> swap present >>peripheries add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =quadtree
<graph-attributes> swap present >>quadtree add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =quantum
<graph-attributes> swap present >>quantum add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =rank <graph-attributes> swap present >>rank add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =rankdir
<graph-attributes> swap present >>rankdir add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =ranksep
<graph-attributes> swap present >>ranksep add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =ratio
<graph-attributes> swap present >>ratio add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =remincross
<graph-attributes> swap present >>remincross add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =repulsiveforce
<graph-attributes> swap present >>repulsiveforce add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =resolution
<graph-attributes> swap present >>resolution add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =root <graph-attributes> swap present >>root add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =rotate
<graph-attributes> swap present >>rotate add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =searchsize
<graph-attributes> swap present >>searchsize add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =sep <graph-attributes> swap present >>sep add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =showboxes
<graph-attributes> swap present >>showboxes add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =size <graph-attributes> swap present >>size add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =smoothing
<graph-attributes> swap present >>smoothing add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =sortv
<graph-attributes> swap present >>sortv add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =splines
<graph-attributes> swap present >>splines add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =start
<graph-attributes> swap present >>start add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =style
<graph-attributes> swap present >>style add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =stylesheet
<graph-attributes> swap present >>stylesheet add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =target
<graph-attributes> swap present >>target add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =tooltip
<graph-attributes> swap present >>tooltip add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =truecolor
<graph-attributes> swap present >>truecolor add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =viewport
<graph-attributes> swap present >>viewport add ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =voro_margin
<graph-attributes> swap present >>voro_margin add ;


USING: graphviz graphviz.builder.private ;

M: subgraph build-alien-endpoint build-alien-subgraph ;