SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
gviz.h File Reference

Go to the source code of this file.

Namespaces

 TSnap
 Main namespace for all the Snap global entities.
 
 TSnap::TSnapDetail
 

Typedefs

typedef enum TGVizLayout_ TGVizLayout
 GraphViz Layout Engines. More...
 

Enumerations

enum  TGVizLayout_ {
  gvlDot, gvlNeato, gvlTwopi, gvlCirco,
  gvlSfdp
}
 GraphViz Layout Engines. More...
 

Functions

template<class PGraph >
void TSnap::DrawGViz (const PGraph &Graph, const TGVizLayout &Layout, const TStr &PltFNm, const TStr &Desc=TStr(), const bool &NodeLabels=false, const TIntStrH &NIdColorH=TIntStrH())
 Draws a given Graph using a selected GraphViz Layout engine with nodes colored. More...
 
template<class PGraph >
void TSnap::DrawGViz (const PGraph &Graph, const TGVizLayout &Layout, const TStr &PltFNm, const TStr &Desc, const TIntStrH &NodeLabelH)
 Draws a given Graph using a selected GraphViz Layout engine with nodes labeled. More...
 
void TSnap::TSnapDetail::GVizDoLayout (const TStr &GraphInFNm, TStr OutFNm, const TGVizLayout &Layout)
 Runs GraphViz layout engine over a graph saved in the file GraphInFNm with output saved to OutFNm. More...
 
TStr TSnap::TSnapDetail::GVizGetLayoutStr (const TGVizLayout &Layout)
 Generates the GraphViz command string based on the selected Layout engine. More...
 

Typedef Documentation

typedef enum TGVizLayout_ TGVizLayout

GraphViz Layout Engines.

Enumeration Type Documentation

GraphViz Layout Engines.

Enumerator
gvlDot 
gvlNeato 
gvlTwopi 
gvlCirco 
gvlSfdp 

Definition at line 3 of file gviz.h.

Definition: gviz.h:3
Definition: gviz.h:3
Definition: gviz.h:3
Definition: gviz.h:3
Definition: gviz.h:3
enum TGVizLayout_ TGVizLayout
GraphViz Layout Engines.