Adjusting the visualization of graph

Hi everyone,

a few months ago I had asked a question about displaying relations:

which led to creating a graph/web as shown below.

I've got 2 follow up questions:

  • Is there a way to hide/remove the middle blocks with randomly generated ID numbers when I expand an 'Assembly'.
  • Is there a way to give each "type" of block a different colour? (e.g. Assembly = red, Component = blue, Software = Purple")


Thanks in advance! I truly appreciated the help I got earlier.

I'm happy to answer questions if necessary.

  • Hello,

    There's two different ways to apply a View Card via a graph definition. The first is to set up a Default View Card which will apply to all nodes in the graph of a specific ItemType. The second is to go to the Nodes relationship and set up a node-specific view which will override any Default View Card.

    The nodes here basically correspond to the nodes of your Query Definition, so it is possible to have property-specific nodes if you configure your Query in a specific way. In this case, you would need to add a different node to your query for each classification you want to style like the query definition in the screenshot below.

    Each of these nodes (Assembly Parts, Component Parts, Software Parts) will then appear in your Graph View Definition and you can style them accordingly.

    In regards to your first question, this is most easily done for direct relationships. When you initially create the Graph View Definition, you should be prompted with a dialog that allows you to select some different options. If you leave "Treat Relationship as Connector" checked, then the middle elements should not show up in the final graph. I believe it is also possible to manually configure a graph definition to do this, though I don't have experience with it. If this connection is not a direct relationship in your query definition, would you be able to share what your query definition looks like?


    Christopher Gillis

    Aras Labs Software Engineer

  • Hello Christopher, 

    I was wondering if you could help me please

Reply Children
No Data