Interface Serde


  • public interface Serde
    Serialization functions for converting Graphviz DOT AST to abstract expressions
    • Method Detail

      • attrListToExpr

        static Expr attrListToExpr​(AttrList al)
        Convert an attribute list to an expression
      • attrStmtToExpr

        static Expr attrStmtToExpr​(AttrStmt as)
        Convert an attribute statement to an expression
      • attrTypeToExpr

        static Expr attrTypeToExpr​(AttrType t)
        Convert an attribute type to an expression
      • compassPtToExpr

        static Expr compassPtToExpr​(CompassPt p)
        Convert a compass point 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
      • graphToExpr

        static Expr graphToExpr​(Graph g)
        Convert a graph to an expression
      • idToExpr

        static Expr idToExpr​(Id i)
        Convert an identifier to an expression
      • nodeIdToExpr

        static Expr nodeIdToExpr​(NodeId nid)
        Convert a node identifier to an expression
      • nodeOrSubgraphToExpr

        static Expr nodeOrSubgraphToExpr​(java.lang.Boolean directed,
                                         NodeOrSubgraph ns)
        Convert a node or subgraph to an expression
      • nodeStmtToExpr

        static Expr nodeStmtToExpr​(NodeStmt ns)
        Convert a node statement to an expression
      • portToExpr

        static Expr portToExpr​(Port p)
        Convert a port 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
      • subgraphToExpr

        static Expr subgraphToExpr​(java.lang.Boolean directed,
                                   Subgraph sg)
        Convert a subgraph to an expression