Package hydra.graphviz
Interface Serde
-
public interface SerdeSerialization functions for converting Graphviz DOT AST to abstract expressions
-
-
Method Summary
Static Methods Modifier and Type Method Description static ExprattrListToExpr(AttrList al)Convert an attribute list to an expressionstatic ExprattrStmtToExpr(AttrStmt as)Convert an attribute statement to an expressionstatic ExprattrTypeToExpr(AttrType t)Convert an attribute type to an expressionstatic ExprcompassPtToExpr(CompassPt p)Convert a compass point to an expressionstatic ExpredgeStmtToExpr(java.lang.Boolean directed, EdgeStmt es)Convert an edge statement to an expressionstatic ExprequalityPairToExpr(EqualityPair eq)Convert an equality pair to an expressionstatic ExprgraphToExpr(Graph g)Convert a graph to an expressionstatic ExpridToExpr(Id i)Convert an identifier to an expressionstatic ExprnodeIdToExpr(NodeId nid)Convert a node identifier to an expressionstatic ExprnodeOrSubgraphToExpr(java.lang.Boolean directed, NodeOrSubgraph ns)Convert a node or subgraph to an expressionstatic ExprnodeStmtToExpr(NodeStmt ns)Convert a node statement to an expressionstatic ExprportToExpr(Port p)Convert a port to an expressionstatic ExprstmtToExpr(java.lang.Boolean directed, Stmt s)Convert a statement to an expressionstatic ExprsubgraphIdToExpr(SubgraphId sid)Convert a subgraph identifier to an expressionstatic ExprsubgraphToExpr(java.lang.Boolean directed, Subgraph sg)Convert a subgraph to an expression
-
-
-
Method Detail
-
attrStmtToExpr
static Expr attrStmtToExpr(AttrStmt as)
Convert an attribute statement to an expression
-
edgeStmtToExpr
static Expr edgeStmtToExpr(java.lang.Boolean directed, EdgeStmt es)
Convert an edge statement to an expression
-
equalityPairToExpr
static Expr equalityPairToExpr(EqualityPair eq)
Convert an equality pair to an expression
-
nodeOrSubgraphToExpr
static Expr nodeOrSubgraphToExpr(java.lang.Boolean directed, NodeOrSubgraph ns)
Convert a node or subgraph to an expression
-
stmtToExpr
static Expr stmtToExpr(java.lang.Boolean directed, Stmt s)
Convert a statement to an expression
-
subgraphIdToExpr
static Expr subgraphIdToExpr(SubgraphId sid)
Convert a subgraph identifier to an expression
-
-