Skip to content

Separate plugins and type conversion from graph #112

@moaxcp

Description

@moaxcp

Graphs are tightly coupled to type and plugins. A new design for graph to make it strongly typed would be more useful outside of the dsl.

There would be classes for Graph, DirectedGraph, and DirectedAcyclicGraph.

The dsl can delegate to a spec object rather than graph. It can handle type conversions and plugins while using strongly typed objects.

class GraphDsl {
     Graph graph

    ...missing goes to plugins then graph...

    void plugin(String name) //add plugin methods to this
    void type(String type)  // change type of graph
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions