Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Separate plugins and type conversion from graph #112

Copy link
Copy link

Description

@moaxcp
Issue body actions

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
}
Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.