/
IStaticLayout.java
36 lines (31 loc) · 1.15 KB
/
IStaticLayout.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************************************
*
* msi.gama.util.graph.layout.IStaticLayout.java, in plugin msi.gama.core,
* is part of the source code of the GAMA modeling and simulation platform (v. 1.8.1)
*
* (c) 2007-2020 UMI 209 UMMISCO IRD/SU & Partners
*
* Visit https://github.com/gama-platform/gama for license information and contacts.
*
********************************************************************************************************/
package prefuse.layout;
import java.util.Map;
import msi.gama.runtime.IScope;
import msi.gama.util.graph.GamaGraph;
/**
* represents a "static" layout, that is a offline one, made to be ran in a run-once way.
*
* @author Samuel Thiriot
*/
public interface IStaticLayout {
/**
* applies a layout for a Gama scope, a gama graph,
* in the given duration (in milliseconds , -1 means no limit), and optional
* options that may be accepted by each layout
* @param scope
* @param graph
* @param timeout
* @param options
*/
public void doLayoutOneShot(IScope scope, GamaGraph<?, ?> graph, long timeout, Map<String,Object> options);
}