Skip to content

Show methods for graphs #15

@davidagold

Description

@davidagold

What information is best present/format most readable when showing the structure and contents of a query graph? I've been playing around with this a bit and have come up with something like:

julia> using jplyr

julia> type MyDataSource end

julia> mydata = MyDataSource()
MyDataSource()

julia> qry = @query mydata |>
           filter(a > .5) |>
           select(c = a * b) |>
           summarize(avg_c = mean(c))
jplyr.SummarizeNode with arguments:
    avg_c=mean(c)

→→  jplyr.SelectNode with arguments:
      c=a * b

   →→  jplyr.FilterNode with arguments:
        a > 0.5

      →→  Data source: MyDataSource()

I think it's on its way, but it needs some work. Suggestions are welcome in this issue.

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