SNAP Library 2.0, User Reference  2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
gviz.h File Reference

Go to the source code of this file.

Namespaces

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

Enumerations

enum  TGVizLayout { gvlDot, gvlNeato, gvlTwopi, gvlCirco }
 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.
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.
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.
TStr TSnap::TSnapDetail::GVizGetLayoutStr (const TGVizLayout &Layout)
 Generates the GraphViz command string based on the selected Layout engine.

Enumeration Type Documentation

GraphViz Layout Engines.

Enumerator:
gvlDot 
gvlNeato 
gvlTwopi 
gvlCirco 

Definition at line 3 of file gviz.h.