Skip to content

Thoughts about user interface #22

@mscroggs

Description

@mscroggs

Creating this issue to dump thoughts about eventual user interface to come back to later:

  • Creating the graphs could be completely hidden from most users: when the user asks for (eg) the expectation of X, we could construct the graph of X and its dependencies in the background at that point, then use it in the computation. Each node will know how it depends on its dependencies so we can iterate recursively through parents and work out the entire graph.
    This is similar to what is done in UFL: when a UFL form is created, the graph is created in the background, but the user does not explicitly have to ask for it
  • Should we require that users give every node a label, or automatically label nodes that aren't given labels? Make two node example graph #16 originally did that later, but I'm now thinking that this may be a premature optimisation so am enforcing the giving of names for now

See also #13

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions