modelcreate / model-view Goto Github PK
View Code? Open in Web Editor NEWModel View - Share and view models in the browser
Home Page: https://view.modelcreate.com
License: GNU Affero General Public License v3.0
Model View - Share and view models in the browser
Home Page: https://view.modelcreate.com
License: GNU Affero General Public License v3.0
import {Project, Workspace} from 'epanet-js'
const ws = new Workspace();
const model = new Project(ws);
model.init('report.rpt', 'out.bin', 0, 0);
const n1Index = model.addNode('N1', NodeType.Junction);
const n2Index = model.addNode('N2', NodeType.Junction);
model.setJunctionData(n1Index, 700, 0, '');
model.setJunctionData(n2Index, 400, 0, '');
const l1Index = model.addLink('L1',LinkType.Pipe,'N1','N2')
This code is ok but how can i save model as inp file can you please help me on this
These elements are missing from the map as they are not described in the mapstyles.
All elements from EPANET should be shown on the map, and it should also be possible to see differences in their styles based on their attributes or current status or results.
This project is in need of a large refactor, and this will be a key component, I will create a separate project within this repo to cover all changes needed.
Hi
can any one help me how can i create my own INP file using node js coding
Thanks for this repo. Congrats on 1st issue :) We are also working on the similar web app with different technologies, but we can switch to this app.
As we tested our app with 35K+ features, we have tested it with this app and it is not working as performant as your demo. For big files, you can switch from GeoJSON to Vector Tiles with https://github.com/mapbox/geojson-vt library before adding to MapBoxGL map.
Your opinions are important for us, may be we can join our repos together in the future to add more features in a single app.
Thanks again for this great app.
A.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.