Model graph: the whole model as one graph with queries; 0.9.0
- Model | Graph switch on main.archify (Diagram | Graph on diagram pages, narrowed to that diagram) - union graph of every element and connection, registry and inline, built from the model index - query box: text, type:, diagram:, decision:, uses:, near:, from: to:, unused, shared, -shared - side panel per element and connection with diagrams, registry line and decisions one click away - legend chips, Fit, Layout, Labels, Export PNG; Cytoscape.js bundled as dist/graph.js - command Archify | Open Model Graph; integration check; unit tests for graph and queries
This commit is contained in:
@@ -49,6 +49,15 @@ if (tests) {
|
||||
entryPoints: ['src/viewer3d/index.ts'],
|
||||
outfile: 'dist/viewer3d.js',
|
||||
}),
|
||||
// The Graph page of a model; Cytoscape.js is bundled in.
|
||||
esbuild.context({
|
||||
...common,
|
||||
format: 'iife',
|
||||
platform: 'browser',
|
||||
target: 'es2022',
|
||||
entryPoints: ['src/graph/index.ts'],
|
||||
outfile: 'dist/graph.js',
|
||||
}),
|
||||
]);
|
||||
if (watch) {
|
||||
await Promise.all(contexts.map((ctx) => ctx.watch()));
|
||||
|
||||
Reference in New Issue
Block a user