Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6971

graphLinksModel.linkFromPortIdProperty connecting to complex object

$
0
0

@uriel wrote:

my data model is designed that way
class sequenceFlow {
sourceRef :string
targetRef:string
edge:BPMNEdge
}
class BpmnEdge{
fromPort:string
toPort:string
… and many other UI properties
}

this design is from BPMN 2.0

(I need to keep the reference to the ports and also to the node.)

now I want to specify the linkFromPortIdProperty which is basically something like this
graphLinksModel.linkFromPortIdProperty = “sequenceFlow.fromPort:string”

this is referencing a complex object

can it be done?
or should I create a different model for the graph and a different model for save?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6971

Trending Articles