graph.ts 314 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
import {LinkMC} from "./linkMC";
import {NodeMC} from "./nodeMC";

export class Graph {
    public directed: boolean;
    public graph: object;
    public links: LinkMC[];
    public multigraph: boolean;
    public nodes: NodeMC[];
    constructor(init?:Partial<Graph>) {
        Object.assign(this, init);
    }
}