Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can define different views for my BPMN diagrams #87

Closed
gimbel opened this issue Jul 1, 2014 · 5 comments · Fixed by #983
Closed

I can define different views for my BPMN diagrams #87

gimbel opened this issue Jul 1, 2014 · 5 comments · Fixed by #983
Assignees
Labels

Comments

@gimbel
Copy link

gimbel commented Jul 1, 2014

No description provided.

@gimbel
Copy link
Author

gimbel commented Jul 2, 2014

Motivation:
People who create complex collaboration diagrams, sometimes want to create views which only show some pools of a process, so that the models are easier to understand.

@nikku
Copy link
Member

nikku commented Jul 2, 2014

This is typically specified through different BPMNDiagram elements contained in one diagram file and we should support that mechanism in a sense that

  • Users may select which view to render (may be specified during import)
  • We only render elements that have DI information in a given diagram (we already do that)
  • If an element is hidden we need to make sure related elements such as connections or children are not drawn, too.

When defining a view

  • Users may specify which elements are included

One important question is: Do we want to support editing on partial views?

@jakobfreund
Copy link

One important question is: Do we want to support editing on partial views?

my2cents: Although it would be a great feature to have, the added value compared to creating partial views at all is way smaller. So I would focus on the pure views for now and skip editing on partial news, assuming that is a considerable effort to allow that.

@nikku
Copy link
Member

nikku commented Apr 18, 2018

This got recently covered by the BPMN MIWG working group via test case C.4.0.bpmn.

@snakebyte85
Copy link

I have the problem to support an XML exported from another modeler, where the user can build multiple collaborations/processes per single project/xml file

I added the support to select a specific diagram to be rendered, using ID of the process or collaboration. Check my pull request #967 if you want to test against https://github.com/bpmn-miwg/bpmn-miwg-test-suite/blob/master/Reference/C.4.0.bpmn

barmac pushed a commit to sharedchains/bpmn-js that referenced this issue Apr 11, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes bpmn-io#87
@barmac barmac added needs review Review pending and removed backlog Queued in backlog labels Apr 12, 2019
@barmac barmac self-assigned this Apr 12, 2019
nikku pushed a commit that referenced this issue Apr 12, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
barmac pushed a commit that referenced this issue Apr 15, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
barmac pushed a commit that referenced this issue Apr 16, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
barmac pushed a commit that referenced this issue Apr 16, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
@barmac barmac mentioned this issue Apr 16, 2019
barmac pushed a commit that referenced this issue Apr 16, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
nikku pushed a commit that referenced this issue Apr 16, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Apr 16, 2019
nikku pushed a commit that referenced this issue Apr 16, 2019
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.

```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```

Closes #87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants