shapes graph with custom asset collections

23 views
Skip to first unread message

Rob Atkinson

unread,
Dec 31, 2019, 6:56:14 PM12/31/19
to TopBraid Suite Users
The new UI extensively uses isShapesGraph() - but its not easy to find how this is determined...

For a custom data asset type, what is needed for it to be treated as a data graph, not a shapes graph?

 I tried subclassing datagraph:Datagraph but it didnt seem to work. 

Holger Knublauch

unread,
Jan 1, 2020, 5:33:35 AM1/1/20
to topbrai...@googlegroups.com
Like most fields from the Graph JavaScript object, this flag is loaded from the server at start-up using teamwork:GraphInitDataJSON. This checks for the presence of

    ?projectType teamwork:isOntologyProjectType true

for the given ProjectType. This is not set to true for almost all ProjectTypes except Ontologies. So as long as that triple isn't present, you should be fine. Feel free to send me your asset collection type definition if you're stuck.

Holger
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/69397e25-6224-45d7-b2bd-3fe38252d078%40googlegroups.com.

Rob Atkinson

unread,
Jan 1, 2020, 10:12:41 PM1/1/20
to TopBraid Suite Users
OK - I had set it to true to force it to use the new editor in 6.2 I think. 

BTW "server start-up" - i did a reset system registries in TBC and it worked - for a deployed WAR will this need a hard restart?

Holger Knublauch

unread,
Jan 2, 2020, 3:19:15 AM1/2/20
to topbrai...@googlegroups.com


On 2/01/2020 4:12, Rob Atkinson wrote:
OK - I had set it to true to force it to use the new editor in 6.2 I think. 

BTW "server start-up" - i did a reset system registries in TBC and it worked - for a deployed WAR will this need a hard restart?
System Administration > Refresh Workspace  should do the same as the TBC reset feature (for the ui:graph at least).

Holger



On Wednesday, 1 January 2020 10:56:14 UTC+11, Rob Atkinson wrote:
The new UI extensively uses isShapesGraph() - but its not easy to find how this is determined...

For a custom data asset type, what is needed for it to be treated as a data graph, not a shapes graph?

 I tried subclassing datagraph:Datagraph but it didnt seem to work. 

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages