comparative-layout-explorer icon indicating copy to clipboard operation
comparative-layout-explorer copied to clipboard

Consider constraint based spec

Open sehilyi opened this issue 6 years ago β€’ 0 comments

At the current stage, consistency in CompSpec is related to design constraints. If we extend it, we can end up removing Layout, and using the consistency alternatively (constraint based visualization lan.

For example, rather than adjacent(arrangement) and juxtaposition(type), users can specify that y space should be shared across charts:

consistency: {
   y_space: "shared"
}

Similarly, users can superimpose charts by:

consistency: { 
   x_space: "shared", y_space: "shared"
}

Animated transition can handled with time constraint.

time?: "shared" | "distinct"

However, before using this approach, we should consider some important aspects.

  • Which is a more effective and understandable way?
  • How do we specify unit (element | chart) or mirrored?

sehilyi avatar Feb 26 '19 15:02 sehilyi