hi,
i am creating dynamic swimlane.
after adding all lanes, nodes and connectors, the swimlane can be very wide in some cases (and one phase in other)
in order to see all swimlane i use fit to page like this:
var diagram = $("#diagram").ejDiagram("instance");
diagram.fitToPage("page", "content");
the swimlane zoom out and you can see th emost of it
but, if it is very wide the scrool and the diagram is centered
i am tring to put the duagram on the top left position of the page/viewport without succed.
i tried to change the scroll offset but the position of the diagram is changing so the scroll is not relavent
is there a way to put the diagram on the top left of the view and set the scroll to see it ?
thanks