Open matterpale opened 2 years ago
We should test this in the new Studio.
https://github.com/vaticle/typedb-studio/pull/585
This issue isn't resolved, but this pull request is a step towards that point. Further crashes occur when visualising this schema.
Description
After running the basic schema view query (
match $x sub thing;
) in a database with a small schema, I try to move things around to get a nicely structured visualization. Within a few seconds, TypeDB Studio freezes and can only be closed.Environment
Reproducible Steps
define
ATTRIBUTES
a_tag sub attribute, abstract, value string;
a_category sub attribute, abstract, value string;
a_location sub attribute, value string, owns a_location;
occurs_at sub attribute, value datetime;
an_amount sub attribute, value long;
amount_unit sub attribute, value string;
ENTITIES
ConcreteEntity sub entity, abstract, # timespace-dependent physical entities owns a_location;
Information sub entity, abstract; # entities with loose timespace dependence
RELATIONS
duration sub relation, owns an_amount, # length of time owns amount_unit, # time unit relates process;
RULES
rule location-transitivity: when { $x has a_location $y; $y has a_location $z; } then { $x has $z; };