digraph dbml {
rankdir=LR;
graph [fontname="helvetica", fontsize=32, fontcolor="#29235c", bgcolor="transparent"];
node [penwidth=0, margin=0, fontname="helvetica", fontsize=32, fontcolor="#29235c"];
edge [fontname="helvetica", fontsize=32, fontcolor="#29235c", color="#29235c"];
"ChainTransactionType" [id=ChainTransactionType;label=<
ChainTransactionType |
DISCOVERY_MINT |
DISCOVERY_UPDATE |
DISCOVERY_VOTE |
>];
"DiscoveryState" [id=DiscoveryState;label=<
DiscoveryState |
NEW |
PENDING_DAO_APPROVAL |
DAO_APPROVED |
PENDING_VALIDATION |
VALIDATED |
WITHDRAWN |
>];
"Discovery" [id="Discovery";label=<
Discovery |
|
|
|
|
|
|
isBreakthrough |
Boolean (!) |
|
|
replicationFactor |
Int (!) |
|
transactions |
ChainTransaction (!) |
|
|
|
|
|
authors |
DiscoveryAuthor (!) |
|
|
reviews |
DiscoveryReview (!) |
|
versions |
DiscoveryVersion (!) |
|
authorInvites |
AuthorInvite (!) |
|
>];
"DiscoveryVersion" [id="DiscoveryVersion";label=<>];
"User" [id="User";label=<
User |
|
|
|
|
|
|
|
|
|
|
ownedDiscoveries |
Discovery (!) |
|
authoredDiscoveries |
DiscoveryAuthor (!) |
|
discoveryVotes |
DiscoveryVote (!) |
|
reviews |
DiscoveryReview (!) |
|
reviewVotes |
DiscoveryReviewVote (!) |
|
|
invitesReceived |
Invite (!) |
|
sentTransactions |
ChainTransaction (!) |
|
receivedTransactions |
ChainTransaction (!) |
|
authorInvitesSent |
AuthorInvite (!) |
|
authorInvitesReceived |
AuthorInvite (!) |
|
>];
"Invite" [id="Invite";label=<>];
"AuthorInvite" [id="AuthorInvite";label=<>];
"DiscoveryAuthor" [id="DiscoveryAuthor";label=<>];
"DiscoveryVote" [id="DiscoveryVote";label=<
DiscoveryVote |
|
|
|
|
transaction |
ChainTransaction |
|
|
|
|
|
>];
"DiscoveryReview" [id="DiscoveryReview";label=<
DiscoveryReview |
|
|
|
|
|
|
|
votes |
DiscoveryReviewVote (!) |
|
>];
"DiscoveryReviewVote" [id="DiscoveryReviewVote";label=<
DiscoveryReviewVote |
|
|
|
|
|
discoveryReview |
DiscoveryReview (!) |
|
discoveryReviewId |
Int (!) |
|
>];
"Vault" [id="Vault";label=<
Vault |
|
|
|
|
|
|
transactions |
ChainTransaction (!) |
|
>];
"ChainTransaction" [id="ChainTransaction";label=<
ChainTransaction |
|
|
|
|
type |
ChainTransactionType (!) |
|
|
|
|
|
|
|
|
|
discoveryVote |
DiscoveryVote |
|
|
>];
"Discovery":f0 -> "User":f0 [style=invis, weight=100, color=red]
"Discovery":f12:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"Discovery":f0 -> "Vault":f0 [style=invis, weight=100, color=red]
"Discovery":f14:e -> "Vault":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryVersion":f0 -> "Discovery":f0 [style=invis, weight=100, color=red]
"DiscoveryVersion":f6:e -> "Discovery":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"Invite":f0 -> "User":f0 [style=invis, weight=100, color=red]
"Invite":f7:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"Invite":f0 -> "User":f0 [style=invis, weight=100, color=red]
"Invite":f9:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"AuthorInvite":f0 -> "Discovery":f0 [style=invis, weight=100, color=red]
"AuthorInvite":f7:e -> "Discovery":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"AuthorInvite":f0 -> "User":f0 [style=invis, weight=100, color=red]
"AuthorInvite":f9:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"AuthorInvite":f0 -> "User":f0 [style=invis, weight=100, color=red]
"AuthorInvite":f11:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryAuthor":f0 -> "User":f0 [style=invis, weight=100, color=red]
"DiscoveryAuthor":f5:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryAuthor":f0 -> "Discovery":f0 [style=invis, weight=100, color=red]
"DiscoveryAuthor":f7:e -> "Discovery":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryVote":f0 -> "User":f0 [style=invis, weight=100, color=red]
"DiscoveryVote":f7:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryVote":f0 -> "Discovery":f0 [style=invis, weight=100, color=red]
"DiscoveryVote":f9:e -> "Discovery":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryReview":f0 -> "User":f0 [style=invis, weight=100, color=red]
"DiscoveryReview":f5:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryReview":f0 -> "Discovery":f0 [style=invis, weight=100, color=red]
"DiscoveryReview":f7:e -> "Discovery":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryReviewVote":f0 -> "User":f0 [style=invis, weight=100, color=red]
"DiscoveryReviewVote":f5:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"DiscoveryReviewVote":f0 -> "DiscoveryReview":f0 [style=invis, weight=100, color=red]
"DiscoveryReviewVote":f7:e -> "DiscoveryReview":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"ChainTransaction":f0 -> "Discovery":f0 [style=invis, weight=100, color=red]
"ChainTransaction":f7:e -> "Discovery":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"ChainTransaction":f0 -> "User":f0 [style=invis, weight=100, color=red]
"ChainTransaction":f9:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"ChainTransaction":f0 -> "User":f0 [style=invis, weight=100, color=red]
"ChainTransaction":f11:e -> "User":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"ChainTransaction":f0 -> "Vault":f0 [style=invis, weight=100, color=red]
"ChainTransaction":f13:e -> "Vault":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="*", arrowhead="normal", arrowtail="none"]
"ChainTransaction":f0 -> "DiscoveryVote":f0 [style=invis, weight=100, color=red]
"ChainTransaction":f15:e -> "DiscoveryVote":f1:w [penwidth=3, color="#29235c", headlabel="1", taillabel="1", arrowhead="normal", arrowtail="none"]
"Discovery":f5:e -> "DiscoveryState":f0:w [penwidth=3, color="#29235c", arrowhead="none", arrowtail="none"]
"ChainTransaction":f5:e -> "ChainTransactionType":f0:w [penwidth=3, color="#29235c", arrowhead="none", arrowtail="none"]
}